ios - Fetching data from server & adding notifications -
i working on app fetches student info server, absences , events , grades. have no access server, have api. asked implement push notifications in app, such if teacher marks student absent, student notification that. searched , found several approaches:
1- background fetch: tried using background fetch check if student logged in app marked absent today, if yes, show local notification. worked when simulated w background fetch, never worked on physical device.
2- searched using apple push notification service, , wanted me build server, , dont know how start. can build server pushes notifications devices in way facebook it? is, 1 user triggers notification @ user, in other words: dont want use broadcast notifications.
3- using third party, backendless, firebase or alternatives. useful approach?
with backendless app (on student side) can register receive push notifications. done api call registers device on servers provided backendless. build additional application (could browser web app or mobile app) teachers. system allows send targeted notifications, when student marked absent, use api deliver push notification student's device. happy discuss in detail, can post question backendless support forum.
Comments
Post a Comment