Pushjet / Pushjet-Android

The Pushjet android client
BSD 2-Clause "Simplified" License
135 stars 21 forks source link

FCM support #22

Open hador opened 8 years ago

hador commented 8 years ago

This patchset adds FCM support #21. I have tested it with a self-hosted server and I have encountered no issues with Firebase support. I was able to get push notifications relayed to my phone instantly.

In order to apply this and build the application you will need to generate the app/google-services.json file from the Firebase Console

Two things to note: this does not appear to work with the "official" Pushjet server, however I wasn't able to debug it properly since there appear to be no client side errors; we can work it out together if you like. Second, I removed the Google Play Services check; it shouldn't be too hard to restore.

hador commented 8 years ago

Looks like this also breaks CircleCI for good...

Mechazawa commented 8 years ago

The CI builds have been iffy at best sadly. I'll have a gander at it on a clean machine some time this week probably.