-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Hi everyone,
I have my ionic 4 App that doesn't send my device token to my parse server, it was working on ionic 3 on the same app, i've included everything in config.xml like so :
<preference name="ParseAppId" value="xxx" /> <preference name="ParseServerUrl" value="xxx" /> <preference name="ParseClientKey" value="xxx" /> <preference name="ParseGcmSenderId" value="xxx" /> <preference name="ParseMultiNotifications" value="true" /> <preference name="ParseNotificationIcon" value="icon_notification" /> <preference name="ParseAutoRegistration" value="true" />
And also logged in app.component.ts to retrieve installation id
`this.parseBackend.ParsePushPlugin = window['ParsePushPlugin'];
if(this.parseBackend.ParsePushPlugin){
this.parseBackend.ParsePushPlugin.getInstallationId(id => {
console.log('Retrieved install id from app.component.ts: ' + id);
}, err => {
console.log('Failed to retrieve install id from app.component.ts: ' + err);
});`
Which logs correctly in the console
But when i go to the console of the parse server (sashido.io), the deviceToken is null
Can somebody can help me with that ?
Thank you everyone ! :)