diff --git a/mobile-app/ios/Podfile.lock b/mobile-app/ios/Podfile.lock index 4edc2c9f5..95b0b69b3 100644 --- a/mobile-app/ios/Podfile.lock +++ b/mobile-app/ios/Podfile.lock @@ -200,7 +200,7 @@ PODS: - sqflite (0.0.3): - Flutter - FlutterMacOS - - ua_client_hints (1.2.2): + - ua_client_hints (1.4.1): - Flutter - url_launcher_ios (0.0.1): - Flutter @@ -358,7 +358,7 @@ SPEC CHECKSUMS: shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695 SimpleKeychain: 130211269f88f038d7dc5254cf0b1b9ce978c398 sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec - ua_client_hints: 7f4e0f5d390685e8f7efd6eb363594f760108926 + ua_client_hints: aeabd123262c087f0ce151ef96fa3ab77bfc8b38 url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe webview_flutter_wkwebview: be0f0d33777f1bfd0c9fdcb594786704dbf65f36 diff --git a/mobile-app/lib/service/podcast/notification_service.dart b/mobile-app/lib/service/podcast/notification_service.dart index 99d88e9c4..782085281 100644 --- a/mobile-app/lib/service/podcast/notification_service.dart +++ b/mobile-app/lib/service/podcast/notification_service.dart @@ -34,12 +34,12 @@ class NotificationService { iOS: iosInitializationSettings, ); + await _flutterLocalNotificationsPlugin.initialize(initializationSettings); + await _flutterLocalNotificationsPlugin .resolvePlatformSpecificImplementation< AndroidFlutterLocalNotificationsPlugin>() ?.requestNotificationsPermission(); - - await _flutterLocalNotificationsPlugin.initialize(initializationSettings); } Future showNotification(String title, String body) async {