I’ve a number of cell purposes, one developed in React Native and the opposite in Goal-C and Swift hybrid know-how. I take advantage of my very own system to ship push notifications, and these notifications are left encrypted within the Apple queues. Nonetheless, in any of my purposes, I’m unable to catch these messages within the code block the place I decrypt them. Because of this, customers see the messages encrypted. Whereas I can deterministically detect this challenge on gadgets experiencing the offload characteristic from Apple, I’ve additionally seen sporadic occurrences of this challenge on gadgets not using offload. Attributable to my safety insurance policies, I’ve no likelihood of sending messages unencrypted. I am attempting to know why that is occurring and wish ideas for an answer. Is there anybody who can assist?
Further Data:
- I take advantage of my very own system for push notifications.
- Messages are left encrypted within the Apple queues.
- I’m unable to catch the messages within the code block the place I decrypt them in one of many purposes.
- I can deterministically detect the difficulty on gadgets experiencing the offload characteristic.
- I’ve seen sporadic occurrences of this challenge on gadgets not utilizing offload.
- Attributable to safety insurance policies, I’ve no likelihood of sending messages unencrypted.
I attempted sending with out offloading, and the messages arrived unencrypted
I looked for a callback handler operate on the Apple facet – could not discover one.
To make sure notifications had been despatched accurately, I carried out token checks in my database.