The Dengage Mobile SDK connects your iOS, Android, and Huawei apps to the Dengage customer engagement platform. Use it to register devices, deliver and measure push notifications, track marketing events, and reach people inside your app with in-app messages. The SDK supports native and cross-platform development.
What you can do with the SDK
- Subscribe devices: register each app installation as a contact on the Dengage platform, so you can target it in campaigns.
- Register for push notifications: request notification permission and register the device's push token with Dengage.
- Display push notifications: deliver text, rich media (image, GIF, video), and carousel push notifications.
- Measure push engagement: track delivery and click events for every push notification, and see the results in campaign reports.
- Track marketing events: record product or service views, add-to-basket actions, orders, and any custom e-commerce event.
- Show in-app messages: display targeted messages while people use your app.
- Offer an App Inbox: keep a copy of your messages in an inbox inside your app, so people can read them later.
- Send location-triggered messages: use geofencing to reach people when their device enters or leaves an area you define.
Supported platforms
Open the guide for your platform to install and configure the SDK:
| Platform | Setup guide |
|---|---|
| iOS | iOS |
| Android and Huawei | Android/Huawei |
| React Native | React Native |
| Cordova | Cordova |
| Flutter | Flutter |
| Expo | Expo |
Get started in three steps
- Open the setup guide for your platform from the table above and install the SDK.
- Configure the and the endpoint addresses for your datacenter. Each platform guide lists the push credentials it needs, such as an APNs key for iOS or a Firebase project for Android.
- Send yourself a test push notification, then confirm that the subscription and click events appear in the Dengage panel.
Not sure which endpoint addresses to use?Endpoint addresses differ by datacenter. Using the wrong ones is the most common reason a first integration fails, so check API Endpoints by Datacenter before you begin.
If something doesn't work
Most integration problems come from endpoint addresses that don't match your account's datacenter, or from missing platform credentials. Check those two first, then go back through your platform's setup guide.
Go deeper
- Rich Notifications: add image, GIF, and video content to your notifications.
- Silent Push: send notifications that your app processes without displaying.
- Inbox - Mobile SDK: set up the App Inbox.
- Tagging - Mobile SDK: send tags from your app to segment your audience.
- Recommendation - iOS & Android SDK: show personalized product recommendations.