@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 CREATEDAnd 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