return the device token and the registered notification types for iOS