Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionic 4 - Android not sending device tokens to parse server #145

Open
kevinflou opened this issue Jul 9, 2020 · 0 comments
Open

Ionic 4 - Android not sending device tokens to parse server #145

kevinflou opened this issue Jul 9, 2020 · 0 comments

Comments

@kevinflou
Copy link

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
Capture d’écran 2020-07-09 à 14 07 39

Can somebody can help me with that ?
Thank you everyone ! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@kevinflou and others