getValueFromManifestOrInfoPlist static method
Utility method to retrieve a value from either the AndroidManifest.xml (for Android) or the Info.plist (for iOS) based on the provided keys.
This method is asynchronous and returns a Future that completes with a String representing the retrieved value. The value is obtained using the platform-specific implementation provided by Mirrorfly.
Provide the androidManifestKey
to specify the key for the value in the AndroidManifest.xml.
Provide the iOSPlistKey
to specify the key for the value in the Info.plist.
Implementation
static Future<String> getValueFromManifestOrInfoPlist(
{String? androidManifestKey, String? iOSPlistKey}) async {
return FlyChatFlutterPlatform.instance.getValueFromManifestOrInfoPlist(
androidManifestKey: androidManifestKey, iOSPlistKey: iOSPlistKey);
}