Table of contents
Troubleshooting
By default, when an in-app message is sent, it sits on server queue. It gets pulled by SDK when App is in the foreground. You can see which in-app messages are in the queue by sending a test campaign and then by going to our API docs for In-app_getMessages, add your API key and email of your test user.
The GET
request will then return all the messages in the queue and you can
determine if you sent the message to the right location.
iOS in-app message is not shown
Make sure you call IterableAppIntegration
from didReceiveRemoteNotification
:
// In AppDelegate.swift func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) { IterableAppIntegration.application(application, didReceiveRemoteNotification: userInfo, fetchCompletionHandler: completionHandler) }
Android in-app message is not shown
If you are implementing your own onMessageReceived()
and onNewToken()
methods, make sure you forward onMessageReceived()
and onNewToken()
calls
to IterableFirebaseMessagingService.handleMessageReceived
and
IterableFirebaseMessagingService.handleTokenRefresh
respectively.
@Override public void onMessageReceived(RemoteMessage remoteMessage) { IterableFirebaseMessagingService.handleMessageReceived(this, remoteMessage); }
No messages received
If you do not see messages received during troubleshooting, verify your notification setup. Iterable uses silent push to alert the app when in-app is available. Follow this guide to see if you have push notifications set up correctly.
In iOS, make sure you have Background Fetch enabled for your app:
Further reading
User guides:
- In-App Messages and Mobile Inbox
- Sending In-App Messages
- Events for In-App Messages and Mobile Inbox
Developer documentation:
- Iterable's iOS SDK
- Iterable's Android SDK
- In-App Messages Overview
- In-App Messages on iOS
- In-App Messages on Android
- Setting up Mobile Inbox on iOS
- Setting up Mobile Inbox on Android
- Customizing Mobile Inbox on iOS
- Customizing Mobile Inbox on Android
- Animating In-App Messages with CSS
- Image Carousels in In-App Messages
- In-App Messages Without the SDK
- API Overview and Sample Payloads
- Iterable's API Docs
Comments
0 comments
Article is closed for comments.