i am a newbie in ionic.
also my englisch is very wrong. I hope you understand my problem.
Is it possible to build a ionic offline app which can sync data after i have the app completed closed.
I have try it with couch - pouch DB but it doesn’t work.
My workflow example:
I am offline
run my app
save data from app localy
close my app - IMPORTANT !!! full closing, for example iPhone double push Homebutton …
now i am online
6 … ??? what is now?
It will not sync.
Is it somehow possible to sync data without start my app.
can i register a job in to os. i will delegate this task to the os.
is there a service worker or something similar?
your background example is working, but only for long tasks. if user closing the app completely the task will be stop or broken. also the task is lost.