1

I am using APN in my app and I was wondering - what if I add a new type of notification and send new STRING_KEY in the JSON - I update my app but, let's assume that 30% of my user base doesn't update immediately. Logically - they will receive the push notification without the "new type" included and therefore instead of:

Localized.strings:

"STRING_KEY" = "This is the new string.";

displaying the text above, the notification will be displayed as "STRING_KEY".

Is there any best-practice approach, or "conditional string", or pre-handle method for displaying the message in push notification?

Michal
  • 15,429
  • 10
  • 73
  • 104
  • 1
    The way I've handled this is to version the APIs my apps use to connect to my servers. Then customise the APNS message for the app based on the API version the app is using. Not sure if it's best practice but it works... – CharlesA Jul 23 '14 at 16:18

0 Answers0