-
Notifications
You must be signed in to change notification settings - Fork 379
Closed
Labels
Description
What happened?
react-native-onesignal doesn't seem to work with new architecture (expo 53)
After upgrading to expo 53 and new arch, push token is returned as null and no notifications are delivered. This behaviour is both on iOS and android
Steps to reproduce?
1. Build app with RN new architecture
2. Register for notifications
3. Push token is returned as null
user becomes opted outWhat did you expect to happen?
No notifications are received on the device, no push token is generated
React Native OneSignal SDK version
5.2.13
Which platform(s) are affected?
- iOS
- Android
Relevant log output
\^[[94m12:29:30 | INFO : Removing permission change handler \^[[0m
\^[[94m12:29:30 | INFO : Registering for notifications for user: XXXXXX \^[[0m
VERBOSE: updateNotificationTypes called: 15
VERBOSE: startedRegister: 1
VERBOSE: getNotificationTypes:mSubscriptionStatus: -1
VERBOSE: requestPermission Called
VERBOSE: updateNotificationTypes called: 15
VERBOSE: startedRegister: 1
VERBOSE: getNotificationTypes:mSubscriptionStatus: -1
\^[[94m12:29:30 | INFO : PushNotificationsProvider: Current state: "registeringForNotifications" \^[[0m
\^[[94m12:29:30 | INFO : Push token received:
null
\^[[0m
\^[[94m12:29:30 | INFO : PushNotificationsProvider: Current state: "pushNotificationsEnabled" \^[[0mCode of Conduct
- I agree to follow this project's Code of Conduct