Closed JanChec closed 4 years ago
BTW it would be great if raw error codes would be in some Enum (the list in exception_class_for_reason
). In batch sending we have to take care of such errors ourselves and on the first look it's not clear where this 'DeviceTokenNotForTopic'
is coming from and what are other options.
Also the 'Success'
string should be a class- or module-wide constant.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
It may be important: https://onesignal.com/blog/ios-13-introduces-4-breaking-changes-to-notifications/#apns-priority-must-be-set-to-5-for-background-notifications