[ Beta Feature ]
Send highly personalized push notifications to your app users based on usage, behavior, and user experience.
» Engage with your most active or loyal users and reward them.
» Enhance your support by sending personalized notifications to users that reported or experienced issues or bugs.
» Connect with beta testers directly based on their interaction and behavior.
» Improve retention by targeting slipping away users to re-engage them.
» Give your users the guidance they need exactly when they need it.
Please notice that these notifications are different from in-app notifications, while the in-app notifications are seen within the app ecosystem (only when the app is open), UXCam push notifications are seen outside and when the app is in the background.
API Implementation
Use the following API to integrate the push notifications feature in UXCam.
Note: Make sure that your application is set up to receive remote push notifications.
UXCam.setPushNotificationToken(_ pushToken: String?)
//Example - Add this to didRegisterForRemoteNotificationsWithDeviceToken
let token = deviceToken.map { String(format: "%02.2hhx", $0) }.joined()
UXCam.setPushNotificationToken(token)
UXCam.setPushNotificationToken(String pushToken);
UXCam.setPushNotificationToken: (pushToken: string) => void
void setPushNotificationToken(String pushToken)
The API parameters are:
pushToken: Push notification device token.
Dashboard implementation
Based on the type of platform you wish to use, you need to configure the following:
Android
Firebase Cloud Message (FCM) server key
You can create the FCM key inside the cloud messaging in the Firebase project settings. Once you have created the key, copy and paste the key inside the “Push notification config”.
iOS
Apple Push Notification (APN) certificate
You can create the APN certificate inside the “Certificates, Identifier and Profiles” inside the apple developer center (developer.apple.com). You can either create Sandbox or a Production certificate based on what type of application you are using. Once you have created the certificate, download it first from the developer center and then upload it inside the “Push notification config”.
⚠️ At the moment .cer files are not acceptable based on Apple's requirements so you would need to generate a .p12 file in order to upload the certificate.
FAQ
- What happens if the device is offline? Does the notification still show?
- No, our notification server will try to send the notification for 3 continuous days, but even after that if the user's device is still offline, then the notification will not be sent at all.
- How soon does the notification send? How much time does it take?
- We cannot say the exact time but approximately it should be delivered within a minute. It depends on how many users we are sending the notification to and the performance of the servers.
- When you send the notification, does it say what UXCam account it is sending from? For example, at the top, it says “Production UXCam Grocery" as the app name, is that what shows?
- The app name that is showing at the top is actually the name of the app installed and is actually determined by the system rather than us due to which we can't change it. Even if there are multiple apps in the UXCam dashboard, if both apps point to the same bundle identifier, the app name at the top should be the same (app name shown in the device)
Once you have done the configuration, you are ready to send the push notification to your users. You can see how to do it here.