Auxiliary methods allow you to get the status of user permissions during a session.
Check that auxiliary methods are already declared on
MainActivity.kt so you can call them from the
Check the permission status by invoking
hasPermission async function, which will return a boolean.
bool value = await platform.invokeMethod("hasPermission");
Updated about 2 months ago