From dfe1dd581fc956cf3d06904a2870a5d15a450c32 Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Sat, 14 Sep 2024 10:23:28 -0400 Subject: [PATCH 1/3] DEL: Remove deprecated delegate call --- ios/BlueWallet/AppDelegate.mm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ios/BlueWallet/AppDelegate.mm b/ios/BlueWallet/AppDelegate.mm index 49bb407fa..2e981b6ae 100644 --- a/ios/BlueWallet/AppDelegate.mm +++ b/ios/BlueWallet/AppDelegate.mm @@ -253,12 +253,7 @@ { [RNCPushNotificationIOS didRegisterForRemoteNotificationsWithDeviceToken:deviceToken]; } -// Required for the notification event. You must call the completion handler after handling the remote notification. -- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo -fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler -{ - [RNCPushNotificationIOS didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler]; -} + // Required for the registrationError event. - (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error { From 5cf0b59bec897a54c1187ec93e1e2db3a2497aaf Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Sat, 14 Sep 2024 10:23:28 -0400 Subject: [PATCH 2/3] DEL: Remove deprecated delegate call --- ios/BlueWallet/AppDelegate.mm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ios/BlueWallet/AppDelegate.mm b/ios/BlueWallet/AppDelegate.mm index 49bb407fa..2e981b6ae 100644 --- a/ios/BlueWallet/AppDelegate.mm +++ b/ios/BlueWallet/AppDelegate.mm @@ -253,12 +253,7 @@ { [RNCPushNotificationIOS didRegisterForRemoteNotificationsWithDeviceToken:deviceToken]; } -// Required for the notification event. You must call the completion handler after handling the remote notification. -- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo -fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler -{ - [RNCPushNotificationIOS didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler]; -} + // Required for the registrationError event. - (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error { From 69811a48d19b37e5cc49ba51b2d8b4acedab63d9 Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Sun, 15 Sep 2024 12:55:07 -0400 Subject: [PATCH 3/3] FIX: Android notifications token was null --- blue_modules/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blue_modules/notifications.js b/blue_modules/notifications.js index 5aef08be3..dc97ad4db 100644 --- a/blue_modules/notifications.js +++ b/blue_modules/notifications.js @@ -109,7 +109,7 @@ function Notifications(props) { * - if you are not using remote notification or do not have Firebase installed, use this: * requestPermissions: Platform.OS === 'ios' */ - requestPermissions: Platform.OS === 'ios', + requestPermissions: true, }); } });