I have a requirement to call an API after several minutes as per setting,
I have already added the ionic Cordova background mode plugin
what is happening is:
- when the timer is on (using interval and subscriber) and the app goes in the background, the timer works at half speed, i.e. interval is called every second but in 1 minute it is getting executed only 30 times.
- After 10 minutes app gets suspended from the background and all the data gets lost.
can you please help me with how we can manage this using ionic 4 in iOS?