0 purchases
flutter android meta data
flutter_android_meta_data #
Flutter get Android
Use #
In AndroidManifest.xml. #
<meta-data android:name="YOUR_CHANNEL" android:value="test" />
copied to clipboard
Future<void> initMateDataState() async {
String mateData;
try {
mateData = await FlutterMetaData.getMetaDataValue("Your Channel");
} on PlatformException {
mateData = 'Failed to get mata data.';
}
}
copied to clipboard
This Plugin only used for Android , The iOS return NULL #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.