checkDeviceTokenStatus method
Checks whether the active-device license token is still enabled.
Returns false if the native SDK does not expose the method or if the
token check fails.
Implementation
Future<bool> checkDeviceTokenStatus() async {
final response =
await invokeNativeMethod('SmartfaceMobile.checkDeviceTokenStatus');
if (response.isLeft()) {
return false;
}
return response.asRight == true;
}