Re:Messages via JSON
by miki123211 on Thursday October 24, 2019 @07:08AM
(#21343381)
I don't think a simple endpoint in Python is any simpler than sending simple requests to an external API. You can do that even via Bash, Curl and Cron. Regarding iOS, using APIs improperly is one sure way to have problems with app review, see i.e. the recent Push Kit debate.
But you have an external API - meaning, you have to get a Telegram account, register a bot (and not forget to unregister it later), think about who else can see the bot, think about if it matters that Telegram can see the data, etc. If you plan to keep this up for some time, you'll also have to keep up with Telegram's policy changes, outages, etc.
I think not needing to bother with any kind of third-party is hard to beat in terms of simplicity.
> I don't think this app will ever work on iOS, due to Apple's policies.
I've not much experience on iOS, so apologies if the answer is obvious, but is there no scheduled task API you could use?
At least, you're not supposed to keep the app working in the background in Android either - however, the app's use-case should still be doable with the background scheduling API.