ios - Trigger a push notification from inside the app -


is possible trigger push notification inside app itself?

i need build function compares remote file cached file , if there new content on remote file updates cache , triggers push notification app itself.

i wondering if possible? , if how go building it?

note: cached file in json format.

to make possible, have permanently check updates, drain user's battery , consume networking capacity, setting server realise task way go here.

it this:

  1. send device's push token server , subscribe changes file.
  2. trigger action on server, when remote file changes.
  3. send notification devices subscribed file using push token got in step 1.

to learn more how push notifications work, can have onto great tutorial here.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -