registerPushNotificationHandlers static method
Future<void>
registerPushNotificationHandlers({
- AndroidSettings? androidSettings,
- IOSSettings? iosSettings,
Implementation
static Future<void> registerPushNotificationHandlers(
{AndroidSettings? androidSettings, IOSSettings? iosSettings}) async {
if ((Platform.isAndroid) && (androidSettings != null)) {
await registerAndroidPushNotificationHandlers(androidSettings);
}
if ((Platform.isIOS) && (iosSettings != null)) {
await registerIOSPushNotificationHandlers(iosSettings);
}
}