canOpenProtectedApps static method

Future<bool> canOpenProtectedApps()

Android Only - Checks whether current device can open "Protected Apps Settings" available in Transsion Group android devices such as Infinix and Tecno When your application is included in protected apps, verification processes are less likely to be terminated by the OS. Increasing rate of users being verified.

Implementation

static Future<bool> canOpenProtectedApps() async {
  if (Platform.isAndroid) {
    return await _channel.invokeMethod(OkHiNativeMethod.canOpenProtectedApps);
  }
  return false;
}