Im having issues to receive push notification on android devices. I am using tag based notification using Worklight 6.2. Below is the steps used to create the apps.
- Create hybrid apps
- Import the example into Eclipse
- Create new environment (Android)
- Create a new project in GCM and get the required credentials (server key)
- key in App ID(project no) and api key(server key) in application-descriptor.xml file
- Run all environment.
- Create the .apk files and import into android devices.
- Run Android emulator using API19 Google Apis.
- Successfully subscribe to event tag
- Invoke adapter procedur (sendTagNotification)
After invoke adapter procedure, I did check the logcat and no errors found. Can anyone help me. Below is the snippet of logcat after i invoke the procedure.
01-14 05:28:31.153: D/HttpPostRequestSender(1951): HttpPostRequestSender.run in HttpPostRequestSender.java:46 :: Sending request https://amrs.malaysiaairports.com.my:444/SimpleProject/apps/services/api/SimpleProject/android/heartbeat 01-14 05:28:32.193: D/NONE(1951): response [https://amrs.malaysiaairports.com.my:444/SimpleProject/apps/services/api/SimpleProject/android/heartbeat] success:
Thanks!