Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25517

How to Update Mattermost with GCM Server ID for Android Push Notifications?

$
0
0

While setting up Mattermost, we successfully configured the push-proxy with iOS notifications and our own signed copy of the iOS app. However, for Android, we realize that we need to change the ServerID to match the Google Project ID for GCM-based notifications to work. Tracing through the code, the ServerID is set from the DIAGNOSTIC_ID, which in turn is a random id generated by a call to model.newID().

So we are befuddled how the ServerID (and the resulting DeviceID sent in GCM calls) would ever match the project keys generated through the Google Console. The only thing we can think of our forcing an update to the DiagnosticID (updating the Systems table where name="DiagnosticID").

Is that the correct approach?

Thanks,
Robert Buccigrossi


Viewing all articles
Browse latest Browse all 25517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>