Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Froot75407yJust use a websocket and push your message whenever needed. Polling the API is like writing a DDoS attack against yourself
Related Rants
There must be a simple, reliable, compatible, battery efficient way to poll an api every ten minutes and send user a notification, right?
AlarmManager : Ok. But who cares about battery anyways?
Google cloud messaging : Ok, you can have battery efficiency. But who lives without Google anyways?
JobScheduler : Ok, but you need Lollipop. Which Android phone doesn't get updates? Oh wait, shit.
rant
notifications
fragmentation
android
it was just a hobby project
fml