News for hackers. Stuff that matters.
Re:You are not Google (2017) by willcipriano on Wednesday April 06, 2022 @12:25PM (#30934118)
Is that how it works? I would've thought it would be something like Twillo where you hit a endpoint when you want to send a message, maybe with an extra step to set up notifications on the users end in the first place.

In Twillio's case after a half hour of you could end up with some sort of send_text(number, msg) function/method that you can just use all over the place and if anything changes in the text message world they handle it.

Id rather do that than have to deal with the carriers, etc. The way you describe sounds like a pain with vendor lock in on top.

Re:You are not Google (2017) by Nextgrid on Wednesday April 06, 2022 @12:33PM (#30934238)
When it comes to mobile push notifications, your mobile app registers itself with the platform's (Apple or Google) push notification service and gets a token. It then has to send your server that token and your server can send pushes to it by talking to the platform's notifications endpoint and quoting that token.

These third-party push notification services are essentially overlays on top of the above, don't actually change the workflow at all (the above is the bare minimum you'd need for the functionality to work) but introduce extra complexity, moving parts, and more importantly, extra rent you now need to pay to them.

Re:You are not Google (2017) by willcipriano on Wednesday April 06, 2022 @12:37PM (#30934329)
Ahh that makes sense, thank you.
Re:You are not Google (2017) by commandlinefan on Wednesday April 06, 2022 @12:33PM (#30934245)
Twilio is actually somewhat useful. Airship is not.