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 out
What 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?
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" \^[[0m
Code of Conduct
What happened?
react-native-onesignaldoesn't seem to work with new architecture (expo 53)After upgrading to expo 53 and new arch, push token is returned as
nulland no notifications are delivered. This behaviour is both on iOS and androidSteps to reproduce?
What 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?
Relevant log output
Code of Conduct