Push notification with OneSignal: What means "No Push Token"?

user6465101 picture user6465101 · Jul 10, 2016 · Viewed 8.1k times · Source

I'm using OneSignal for push notifications.

In the subscribed list some devices/users are marked with No (No Push Token). Explanation says: This user has no push token and cannot be targeted.

That occurs for iOS devices as well as for Android devices.

What does it mean? Why does it happen? How to change it?

Answer

jkasten picture jkasten · Jul 12, 2016

This means OneSignal did not get a pushToken from the device however the device was able to register with your OneSignal account. On iOS the pushToken is known as the device token, on Android this is the Google registration id.

Depending on the OneSignal SDK you're using there is a setLogLevel function that can be called before you call OneSignal init to add additional logging. This will be printed in the Xcode log for iOS or adb logcat for Android. Also make sure you are using the last OneSignal SDK.

You can also contact OneSignal through the help bubble on the bottom of the page while logged in and they can check your account to help diagnose the issue.