Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71530

Migrating cordova project to capacitor stopped OneSignal to work

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 71530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>