Appendix: Frequently asked questions
  • 19 Oct 2024
  • 1 Minute à lire
  • Sombre
    Lumière

Appendix: Frequently asked questions

  • Sombre
    Lumière

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

Question: On iOS, why is the notification permission not requested again when the app is re-installed?

Answer: To again request the notification permission, the app must remain uninstalled for at least a day. For more information, refer to Technical Note TN2265 (https://developer.apple.com/library/ios/technotes/tn2265/_index.html#//apple_ref/doc/uid/DTS40010376-CH1-TNTAG42).

Question: On iOS, why does the client device not receive all the notifications that I send?

Answer: Depending on the device availability, if multiple notifications are sent, the Apple Push Notification service (APNs) may send only the last one. For more information, refer to Technical Note TN2265 (https://developer.apple.com/library/ios/technotes/tn2265/_index.html#//apple_ref/doc/uid/DTS40010376-CH1-TNTAG23).

Question: Why does the notification not arrive on the client device when it was successfully sent by the server?

Answer: You need to wait a few seconds after sending the notification so that one of the success/failure callbacks is called.

Question: On iOS, why do I get an "Invalid token" error when sending a notification?

Answer: This happens, for example, when the client device is connected to the development version of the Apple Push Notification service (APNs), while the server is connected to the production version of the APNs, or vice versa. Verify useSandboxGateway in the NotificationSDKServerCredentials class and verify it is consistent with the used PKCS #12 certificate.

Question: On iOS, why is the icon badge not correctly incremented/decremented?

Answer: The icon badge can be set in the notification, and is hence managed by the server. A value of 0 will clear the icon badge. A negative value will not affect the icon badge, and any other positive value will be displayed in the icon badge. Once the notification is received, it is up to the client app to handle the icon badge value as needed. Usually the badge value is decremented.

Question: On iOS, why are my notifications displayed under the old app name in the notification center?

Answer: Rebooting the client device will update the device data, and the correct app name will be displayed in the notification center.

Question: Why do I not receive notifications on my device when sending from the server seems to be working properly?

Answer: Check the network settings on the device, along with your network security and firewall settings. The device must be connected to the public Internet.


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle