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

Push.register() not returning token

$
0
0

@samhendrickx wrote:

I have the following code:

var push = new Ionic.Push({
  "debug": true
});

push.register(function(token) {
  console.log("Device token:",token.token);
});

Unfortunately the register callback is never called (nothing gets logged).
I installed everything correctly and set dev_push to true

Registering users works perfectly so I don't know what's wrong.

In the console I get the following output: Ionic Push: – "register" but nothing else...

Any thoughts?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49220

Trending Articles



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