I have a fully functional ionic + cordova + oneSignal project, the push notifications are correctly received by the device and handled inside the app
Now I migrated to Capacitor, following the OneSignal instructions to setup the XCode project (adding push notification capacity and so on) but the device doesn’t receive the notification
The only difference I can notice is the file App.entitlements not present in the cordova version
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
</dict>
</plist>
I tried to change development to production without success.
Have you some hint?
1 post - 1 participant