QuickBlox not sending APNS

前端 未结 2 1712
面向向阳花
面向向阳花 2021-01-21 10:56

Suddenly I\'m getting an error when sending APNS through QuickBlox, and it\'s so weird cause it was working pretty well before.

After user is logged i\'m using TRegister

相关标签:
2条回答
  • 2021-01-21 11:56

    It means that your users/user don't subscribed to Apple push notifications. Maybe you unsubscribed them.

    To check user's devices - go to Users module, open particular user and check this list http://qblx.co/1iC8Dtg

    In this example you can see that this particular user subscribed from 2 iOS devices and can receive push notifications.

    0 讨论(0)
  • 2021-01-21 12:01

    I’ve checked it and for sure that’s the problem. All my devices are being added with same UDID: 02:00:00:00:00:00 despite they have their correct UDID on Apple Developer’s portal.

    enter image description here

    From iOS 7 pre release:

    In iOS 7 and later, if you ask for the MAC address of an iOS device, the system returns the value 02:00:00:00:00:00. If you need to identify the device, use the identifierForVendor property of UIDevice instead. (Apps that need an identifier for their own advertising purposes should consider using the advertisingIdentifier property of ASIdentifierManager instead.)

    Does QuickBlox use MAC address to have access to device's UDID? If yes maybe that's the problem.

    Since uniqueIdentifier is deprecated in iOS 7 another option is use identifierForVendor but it has a different value.....also you can't use any parameter (UDID or UUID) in TRegisterSubscriptionWithDelegate method.

    Wondering if there's another way to subscribe users for APNS with QuickBlox.

    0 讨论(0)
提交回复
热议问题