requestIOSNotificationPermissions method
Future<void>
requestIOSNotificationPermissions(
)
Implementation
Future<void> requestIOSNotificationPermissions() async {
print("is called IOS notificaion fucntion");
final iosImplementation =
flutterLocalNotificationsPlugin.resolvePlatformSpecificImplementation<
IOSFlutterLocalNotificationsPlugin>();
// Request notification permissions
await iosImplementation?.requestPermissions(
alert: true,
badge: true,
sound: true,
critical: true,
);
await _showWelcomeNotification();
}