0

I am new to Mobile development and I am using Ionic Native. I want to trigger a function at a fixed time point, e.g. every 12:00 pm on Friday, no matter my App is running or not.

I guess I need to register this function into the system service level but have no idea how to achieve this. I currently run my App on Android but maybe IOS later. I assume the solution will be different.

John Zhang
  • 1,043
  • 2
  • 13
  • 22

1 Answers1

0

First: ionic is a css and angular directive and services framework binding your app with Cordova framework. As general rule of thumb if something is unrelated on how your app look or feel it is Cordova related issue

Second: It is not currently possible to keep running a code in background if the user kill your app in IOS.

if you want to run a background services in Andorid you can look at this

If you want to push a notification you can add Cordova(or ngCordova) plugin for local notificationhere. you can read

Community
  • 1
  • 1