30 likes | 55 Views
Your push notifications have a higher chance of getting conversions if they are sent in users' native languages. Get started with App42 Push Notification Service to target your users in their preferred languages. Here's the tutorial to help you with that:
E N D
Multilingual Push Notifications using App42 Service The vitality of Push Notifications is augmented by the fact that they are the most popular and trusted form for user engagement. Your app users could belong to any religion, age and demography, and it is imperative that they be targeted in their local language for better conversions, after all what’s better way to make someone read your message than in their native language. The usual messages that are sent via push notifications are about any product update, new features, discount offers, chats etc. With App42 Push Notification Service, it is extremely convenient to send multilingual push notifications to your app users across all platforms. Let’s figure how you can achieve that withApp42: Kindly follow the steps put forth to send multilingual push notifications in your app: Register with App42 platform and create your app with Download the App42 SDK Follow the steps to enable push notifications in your Android app (GCM) registration & configuration of android phone’s process in App42 Console Later, sticking with a few steps stated above, developers can send the multilingual push notification using the below code snippet. Here, users can send their messages in the terminology they want and set the meta headers where the data encoding is true. String userName = "Nick"; String message = "消息,你必 消息,你必须发送";
HashMap<String,String> otherMetaHeaders = new HashMap<String,String>(); otherMetaHeaders.put("dataEncoding", "true"); pushNotificationService.setOtherMetaHeaders(otherMetaHeaders) pushNotificationService.sendPushMessageToUser(userName, message, new App42CallBack() { public void onSuccess(Object response) { PushNotification pushNotification = (PushNotification)response; System.out.println("userName is " + pushNotification.getUserName()); System.out.println("Message is " + pushNotification.getMessage()); System.out.println("Expiry is"+pushNotification.getExpiry()); } public void onException(Exception ex) { System.out.println("Exception Message"+ex.getMessage()); In the above code snippet, we have sent a Chinese character in the message. Similarly, you can send messages in other languages like Russian, Italian etc. Moreover, you can also send multilingual push notifications right from our AppHQ Managament Console using the following steps: Click on Unified Notifications once you have logged in AppHQ with product selected as App42 Cloud API Click on channels or users Click on Send Push Now to send message in language other than English, click on Non-English and simply type in the language of your choice
If you have queries or need further assistance, please feel free to reach us at support@shephertz.com