Realworld: Push notifications (mobile)

Created on 25 Apr 2017  路  4Comments  路  Source: gothinkster/realworld

I was just thinking, it might be nice for us to host an APNS/GCM server that mobile apps can connect to and receive push notifications for (i.e. For notifications about comments, likes, etc on the users' conduit posts).

Push notifications are part of nearly every mobile app, so I think this would be a good addition to make it "real world". Thoughts?

discussion suggestion

Most helpful comment

@EricSimons I would like to suggest to implement FCM notification for mobile apps.

All 4 comments

Also, now that parse is dead, what is the most common way to host a push noti server?

Additionally, would this even be possible due to push noti certs? i.e. can we create a public cert that everyone could use?

Cc/ @claytonschneider

We use this to test / debug push notifications and it includes sample setup using PHP -> http://apns-gcm.bryantan.info

I'm not familiar with the node packages but should be able to do the same using package for node.

Another alternative is we can configure Firebase notifications or Ionic.io and the API can be used to send push notifications.

would this even be possible due to push noti certs? i.e. can we create a public cert that everyone could use? - I think if we do the code signing using Fastlane tools, https://github.com/fastlane/fastlane/tree/master/pem and have a readonly apple account, anyone can sign the app, test push notifications using the readonly apple account to download the needed certs.

Code signing certs will be hosted on github repo and the readonly apple account will be used to download the certs while generating a build,etc. I've done this setup for private repos i.e CI setup for mobile apps but need to lookup on public repo setup (not sure on security)

@EricSimons I would like to suggest to implement FCM notification for mobile apps.

@EricSimons

At Blend we use Amazon SNS for push notifications which works really well, but the infra setup required there might be a bit overkill for Realworld. I think OneSignal could be a good choice, it's free and there are SDK's available for Ionic/Cordova and React Native.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anishkny picture anishkny  路  8Comments

hmmhmmhm picture hmmhmmhm  路  4Comments

humboldtux picture humboldtux  路  6Comments

LiesbethW picture LiesbethW  路  3Comments

vladfaust picture vladfaust  路  5Comments