Android

How Do I Migrate from Google Cloud Messaging to Firebase?

As of Android SDK version 4.11, Swrve supports Firebase Cloud Messaging (FCM). If you are integrating the Swrve SDK into a new app and want to use FCM, follow the steps outlined in the Android Integration Guide. If you are upgrading the SDK and currently use Google Cloud Messaging (GCM), you need to properly migrate Read More

How Do I Include Emojis in my Campaigns?

Swrve now supports the use of emojis in all push notification, location-based and Conversations campaigns. Emojis in Push Campaigns Push notification and location-based campaigns include an emoji picker directly in the notification editor. To add an emoji to your notification content, on the Add Content screen of the workflow, click the emoji () icon and Read More

Using Advanced Android Push Notifications

Android enables you to configure push notifications to include many different features like images, progress bars, buttons and an inbox. To take advantage of these capabilities in Swrve, you must use payloads in your push notification. Swrve also supports including certain rich notification features directly from the push notification campaign workflow, such as images, videos and custom buttons. Read More

How Do I Manage the Android Server Key for Push Notifications?

To enable an app to send push notifications to Google Play devices, you require a server key. There are three main steps involved in creating a server key for your app and entering it in Swrve: Create or import a project in Google’s Firebase Developer Console and collect the Server key and Sender ID. Enter the Sender ID when Read More

Should I Use Advertising ID to Identify Users in my Android App?

No. You should not use Advertising ID to identify your users in Swrve. Why should I not use the Google Advertising ID? You should not use Advertising ID because it is resettable by the user. When users reset their Advertising ID they look like a new users to the Swrve system. This makes our segmentation, Read More

How Do I Send an ISO Currency Code on Android?

When you send an IAP event to Swrve, you must send a valid ISO currency code in the local_currency parameter. Swrve uses this currency code to convert the cost from the local currency to USD which is reported in the KPI Metrics dashboard. On Android, this is tricky because the OS doesn’t reliably report the Read More