What happened?
I had two plugins that modified notification settings in my expo-dev-client SDK v47 app. I had "onesignal-expo-plugin" and "config-plugin-react-native-intercom" and a few others as well.
I followed the setup guides for OneSignal and Expo thoroughly. However, my app gave the Missing Push Capability error on the OneSignal dashboard.
The way I fixed it was moving onesignal-expo-plugin above all the other plugins that modified any notification settings.
Steps to reproduce?
1. Setup OneSignal on expo-dev-client app with this config plugin. Make sure APNS delegate fires.
2. Install another config plugin that modifies notifications settings like the Intercom config plugin (Intercom is a good example because OneSignal uses Intercom internally as well)
3. Build the app locally or using EAS
4. Open the app on a production device.
5. Check out the OneSignal dashboard and you will see the error "Missing Push Capability" alongside your device.
What did you expect to happen?
Push notifications should work, but they don't.
OneSignal Expo SDK version
"react-native-onesignal": "^4.5.0",
"onesignal-expo-plugin": "^1.3.0",
Platform
iOS
Relevant log output
No response
Code of Conduct
What happened?
I had two plugins that modified notification settings in my expo-dev-client SDK v47 app. I had
"onesignal-expo-plugin"and"config-plugin-react-native-intercom"and a few others as well.I followed the setup guides for OneSignal and Expo thoroughly. However, my app gave the
Missing Push Capabilityerror on the OneSignal dashboard.The way I fixed it was moving
onesignal-expo-pluginabove all the other plugins that modified any notification settings.Steps to reproduce?
What did you expect to happen?
Push notifications should work, but they don't.
OneSignal Expo SDK version
"react-native-onesignal": "^4.5.0",
"onesignal-expo-plugin": "^1.3.0",
Platform
iOS
Relevant log output
No response
Code of Conduct