Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49167

Problems assigning tokens to users: "User has no push tokens registered."

$
0
0

@webfu wrote:

I'm trying to utilise the Push service, and using the new push.saveToken(token) for the current 2.0 API.

In my inspector, I can see that the request is going out ok:

Request URL:https://api.ionic.io/push/tokens
Request Method:POST
Status Code:201 CREATED

And it contains the correct data for that endpoint:

{"token":"DEV-xxx-xxx-xxx-xxxx-xxx","app_id":"xxxxxx","user_id":"xxxx-xxx-xxx-xxx-xxx"}

However, when I log in to https://apps.ionic.io, and view my apps Users, the user that matches the user_id given above states that "User has no push tokens registered."

In order to send notifications to users instead of devices, I need these tokens assigned, but cannot for the life of me work out why the token isn't persisted.

Any ideas anyone?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49167

Trending Articles



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