How can I wait in Flutter, that when I call the API "requestPermissions" from Flutter via methodChannel, the native code does not return to Flutter immediately, instead wait for the ActivityResult and return the final result to Flutter from Native code. Something like in Flutter
int activityResult = await callNativeRequestPermission();--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/0e55f995-4fd4-42cc-88d7-7f195b627991n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/CAKS5KXaoMt44W%3DehqEb1%2Bp7r%2BeB-7jQEWiuNk%2B3frvXKikJ%3DSw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/CAKS5KXbRWedLcZaRYJpUqf2KmAbhd1mm_kB_e%2BcpPg76RuKJkQ%40mail.gmail.com.