marckassay / AIT

An Ionic 4 application to target Android mobile devices
GNU General Public License v3.0
8 stars 3 forks source link

Add feat 'run in background' #11

Open marckassay opened 5 years ago

marckassay commented 5 years ago

This feature should be enabled by default in the Settings view. Below are relevant links:

marckassay commented 5 years ago

The plugin listed above has breaking limitations. One of these issues is this one.

Having AIT as a 'foreground service' seems to a better solution using this plugin. Along with this plugin for Notifications.

Although, Beacons may seem ideal, I think that since this is a timer app, it might be pushing the limitations for them to scan every 1.1 seconds.

We recommend not reducing the scan period to be less than 1.1 seconds

ref: https://github.com/katzer/cordova-plugin-background-mode/issues/400#issuecomment-490116744