- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2017 06:36 AM
Hi all,
We have configured a Push Notifications for a custom Android app. After triggering a specific event, the notification stuck in system log with "Pending" type.
Here are more details:
- The user can login to APP on mobile devices, and got registered in sys_push_notif_app_install table.
- The event triggers a push notification and it is successfully written to System Log.
- In system log I can see the message itself, where the registered device token is also mentioned.
- Now the message remains "Pending" for specific period of time, after what turns to "failure"
We have a Push Application configured in ServiceNow, that contains Goolge API key and "REST API" value for both Push and Feedback.
I can also see 2 error messages in System Log:
app="Push app name" origin="push.feedback" Invalid Feedback REST Message: no thrown error
app="Push app name" origin="push.feedback" elapsed=8 exception encountered getting feedback: java.lang.RuntimeException: feedback job does not have a valid Feedback REST Message: com.glide.push.feedback.FeedbackClientRest.getFeedback(FeedbackClientRest.java:52)
Any ideas are appreciated.
Thanks,
Pavlo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2017 01:02 AM
Hey guys, I was finally able to solve it. The key point here, is to make sure the Push Application setup is correct. This is something not clearly stated in official docs. So for Android app, these points are important: Push = Direct, Feedback = REST, Google API key = FCM Server Key (both leagacy and the new one are working fine). Despite Google recommendations to set up HTTP headers for the REST message, the notifications are running fine both with- and without it. Therefore, normally you can leave out-of-the-box REST "Google Cloud Messaging Sent" unchanged.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2017 09:40 AM
Hi I did this in Helsinki. Both legacy and a new FCM Server Key works fine for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2018 11:39 PM
Hi Pavlo,
Hope you can help me. We're trying to configure push notifications using FCM too using Ionic for mobile develpment. I configured everything as the tutorials metion, we have SSO with office365 and I have a bunch of questions. Are you up for consulting services? please let me know, its urgen perhaps a a 1-2hours call via zoom or something.