registerForAndroidRemoteNotifications static method

Future<void> registerForAndroidRemoteNotifications()

Implementation

static Future<void> registerForAndroidRemoteNotifications() async {
  if (Platform.isIOS) {
    log("It's not supported on the iOS platform");
    return;
  }

  await _channel.invokeMethod('registerForAndroidRemoteNotifications');
}