I'm using the following javascript to get device info:
setTimeout(function() {
// push notification stuff...
var deviceID = localStorage.getItem('pushNotificationDeviceID');
var tokenID = localStorage.getItem('pushNotificationToken');
var deviceType = device.platform;
}, 3000);
I've found it works great on all Android devices, but I've found that the pushNotificationToken is returned null on iOS devices running iOS8 or earlier. It works properly on iOS9 devices.
Is there a workaround I could use to get the pushNotificationToken on iOS8 devices?
Thanks,
Steve