isRegisteredForRemoteNotifications method

  1. @override
Future<bool> isRegisteredForRemoteNotifications()
override

Implementation

@override
Future<bool> isRegisteredForRemoteNotifications() async {
  try {
    return await _configChannel.invokeMethod<bool>(
            SuperfineSdkChannelMethods.isRegisteredForRemoteNotifications) ??
        false;
  } catch (e) {
    print("Error checking registration for remote notifications: $e");
    return false;
  }
}