Hello,
I've been trying to make the push notification appear in the android status bar so i edit kii-push-config.xml to look like the following
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Push To App -->
<string name="kii_push_app_showInNotificationArea">true</string>
<string name="kii_push_app_useSound">false</string>
<!-- eg.) #ff00ff00 -->
<string name="kii_push_app_ledColor"></string>
<string name="kii_push_app_vibrationMilliseconds">0</string>
<!-- You can use literal string or JSONPath -->
<string name="kii_push_app_notificationTitle">a</string>
<string name="kii_push_app_notificationTicker">b</string>
<string name="kii_push_app_notificationText">x</string>
<!-- Push To User -->
<string name="kii_push_user_showInNotificationArea">true</string>
<string name="kii_push_user_useSound">false</string>
<!-- eg.) #ff00ff00 -->
<string name="kii_push_user_ledColor"></string>
<string name="kii_push_user_vibrationMilliseconds">0</string>
<!-- You can use literal string or JSONPath -->
<string name="kii_push_user_notificationTitle">b</string>
<string name="kii_push_user_notificationTicker">a</string>
<string name="kii_push_user_notificationText">m</string>
<!-- Direct Push -->
<string name="kii_push_direct_showInNotificationArea">true</string>
<string name="kii_push_direct_useSound">false</string>
<!-- eg.) #ff00ff00 -->
<string name="kii_push_direct_ledColor"></string>
<string name="kii_push_direct_vibrationMilliseconds">0</string>
<!-- You can use literal string or JSONPath -->
<string name="kii_push_direct_notificationTitle">t</string>
<string name="kii_push_direct_notificationTicker">a</string>
<string name="kii_push_direct_notificationText">b</string>
</resources>
Yet the notifications still didn't appear and here's the logcat
05-23 17:16:40.537 26057-26057/com.cryptyd.Belote D/GCMBroadcastReceiver﹕ #####onReceive
05-23 17:16:40.547 26057-26057/com.cryptyd.Belote D/GCMBroadcastReceiver﹕ found the IntentService. package=com.cryptyd.Belote class=com.kii.cloud.unity.GcmIntentService
05-23 17:16:40.567 26057-27660/com.cryptyd.Belote D/GcmIntentService﹕ #####onHandleIntent
05-23 17:16:40.577 26057-27660/com.cryptyd.Belote D/GcmIntentService﹕ #####messageType=gcm
05-23 17:16:40.577 26057-27660/com.cryptyd.Belote D/GcmIntentService﹕ #####Android API LEVEL=19
05-23 17:16:40.597 26057-27660/com.cryptyd.Belote D/GcmIntentService﹕ #####app is in background
05-23 17:16:40.597 26057-27660/com.cryptyd.Belote D/GcmIntentService﹕ #####onHandlePushMessage
05-23 17:16:40.607 26057-27660/com.cryptyd.Belote D/GcmIntentService﹕ #####MessageType=PUSH_TO_USER
05-23 17:16:40.607 26057-27660/com.cryptyd.Belote D/GcmIntentService﹕ #####showInNotificationArea=false
05-23 17:16:40.607 26057-27660/com.cryptyd.Belote D/GcmIntentService﹕ #####useSound=false
05-23 17:16:40.607 26057-27660/com.cryptyd.Belote D/GcmIntentService﹕ #####ledColor=
05-23 17:16:40.607 26057-27660/com.cryptyd.Belote D/GcmIntentService﹕ #####vibrationMilliseconds=0
05-23 17:16:40.607 26057-27660/com.cryptyd.Belote D/GcmIntentService﹕ #####notificationTitle=
05-23 17:16:40.607 26057-27660/com.cryptyd.Belote D/GcmIntentService﹕ #####notificationTicker=
05-23 17:16:40.607 26057-27660/com.cryptyd.Belote D/GcmIntentService﹕ #####notificationText=
05-23 17:16:40.607 26057-27660/com.cryptyd.Belote D/KiiPushUnityPlugin﹕ #####KiiPushUnityPlugin.getInstance()
05-23 17:16:40.607 26057-27660/com.cryptyd.Belote D/KiiPushUnityPlugin﹕ #####sendPushNotification {"objectScopeUserID":"fe80ec
I'm building for android using unity 5.3.4f1 and Kii cloud sdk 3.2.1
Any help would be appreciated.
Thanks & Regards