1. I am using Segment. Can I use the Segment Identify call to add device tokens to user profiles?
Unfortunately you cannot use this method. You must call the Iterable registerDeviceToken API to add push tokens.
2. Do I need to implement the Iterable mobile SDK in my app in order to send push notifications to iOS devices?
No, it is not necessary. You just need to add valid device tokens to user profiles via the registerDeviceToken API. We still recommend implementing the Iterable SDK since it does make it easier to send the token to Iterable for new versions of your app.
3. Can I export push tokens for my users from our existing push provider and added them into Iterable using the registerDeviceToken API?
Yes, these push tokens should work.
On Android, a push token is associated with the device, app, and the project/API key you request it for.
On iOS, the push token is associated with the device, app, and certificate/provisioning profile the app is running under when requesting the token.
4. I've implemented the Iterable SDK into my app. If the user has a valid push token on his profile and but has an old version of the app, can he still receive Iterable push notifications?
As long as the push token is still valid and the user has opted in to push notifications, the push notification will work.
5. A user has my app. I then updated my app with the Iterable SDK. If the user updates to the latest version of the app but has not launched it, will she get an Iterable push?
Depends. If APNS/GCM decides the push token remains the same with the new app, then it should work fine. However, the push tokens are subject to change. Various factors such as OS upgrades, app upgrades, wiping your device, etc. may or may not change the token (depending on OS and other factors). Here's a StackOverflow article that provides more details: http://stackoverflow.com/
6. A user opted in to push when she was prompted by the old version of my app. I then updated my app with the Iterable SDK. The user upgrades to the new version of the app but was not prompted to opt into push since she already opted in before. Will she get Iterable push notifications?
This will work. Each time the app is opened, the registerDeviceToken API call will pass the token to Iterable. If the token has changed, it will update the user's profile in Iterable with the new token. Since the user has already opted in to receive push from your app in the past, the user will receive push notifications.
7. Is there a maximum length or size for push notifications?
There are best practices for the size of your push notifications to ensure deliverability and high engagement rates.
Here are some key numbers to keep in mind:
- 2KB: While the maximum size is 4KB, both Google and Apple recommend capping messages at 2KB. Keep in mind that this includes the entire message, code and all.
- 4–8 lines or 140–280 characters: Depending on what language your team is using, you might be able to deliver a 2,000 character message, however, remember that your message may be truncated after 4–8 lines.
Short and sweet is best. Plus, since we know they are on mobile, some users may be using expensive cellular data to engage with you instead of wi-fi, so be kind and shrink those message sizes.