Greg Tyndall
Greg Tyndall

Reputation: 117

Pushwoosh and PhoneGap

How do you get a users push token using javascript? I'm using Pushwoosh, I can get it from the status variable right after the registerDevice is called, but is there away to get it outside of that function?

Thanks

Upvotes: 1

Views: 428

Answers (2)

Noah Borg
Noah Borg

Reputation: 762

Currently you can do that with this function only. There's going to be another way implemented in the future.

Upvotes: 0

Christian Kuetbach
Christian Kuetbach

Reputation: 16060

We wrote the token to file and read it with phonegp.

Upvotes: 1

Related Questions