@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 setdev_push
totrue
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