- MoEngage iOS SDK supports this change from SDK version 2.4 and above, hence ensure that your app is (or app users are) not on MoEngage iOS SDK version below 2.4. If this is the case, please update MoEngage iOS SDK to the latest version.
- If you are parsing the push notification payload and accessing the “alert” key from the payload, ensure that the parsing logic supports both the variants of push notification payload as shown below:
- Without title and subtitle:
Code
- With title and subtitle:
Code
- Without title and subtitle:
How to support title and subtitle in iOS push notifications?
Add title and subtitle support to iOS push notifications with MoEngage. Requires SDK version 2.4+ and proper alert payload parsing in your app.
We have added support for sending title and subtitle along with your message in an iOS push notification. To enable it for your account, please ensure the following:
What are the Limitations of Push Amplification™ Plus?Getting Google Authentication Error while sending Mobile Push notifications