activity_getmx 1.0.0 activity_getmx: ^1.0.0 copied to clipboard
Plugin Activity is interface with methods
ActivityPlugin #
Launch and get response other apps,use intents when the platform is Android.
Usage #
Minimal example startActivityForResult #
if (platform.isAndroid) {
const intent = AndroidIntent(action: 'getmx.PAY',arguments: {'amount': 90,'currency': 'MXN'});
Map<String,dynamic>? map = await activityPlugin.startActivityForResult(intent);
}