Checking Permissions Status

To get information about the user's permission status, you can call thecheckPermissionFlow function. This returns 3 possible values:

  • "CLOSE FLOW"
  • "NEVER ASK AGAIN"
  • "NO ACTION PERFORMED"

Then, using checkPermissionFlow and arePermissionsEnabled, you can see the permission's current status and the user's most recent interaction with the SDK.

String value = await platform.invokeMethod("checkPermissionFlow");