08-28-2017 12:30
08-28-2017 12:30
Can third party app be background running on Ionic?
Answered! Go to the Best Answer.
08-28-2017 16:29
08-28-2017 16:29
Yes and No.
The part of your app that runs on the watch can only round in the foreground. The companion which runs on the phone can be triggered at specific intervals or when the user moves significantly - that works in the background.
Check out the life cycle events documentation for more information about this.
cheers,
thomas
08-28-2017 16:29
08-28-2017 16:29
Yes and No.
The part of your app that runs on the watch can only round in the foreground. The companion which runs on the phone can be triggered at specific intervals or when the user moves significantly - that works in the background.
Check out the life cycle events documentation for more information about this.
cheers,
thomas
08-28-2017 16:38
08-28-2017 16:38
Thanks!
so, in my understanding, the background music playing(after switched to other apps) and pop up customized alert(of my app) would be NO without a mobile phone nearby, right?
08-28-2017 16:41
08-28-2017 16:41
I think you got this right:
- Music will continue playing after you switch to your app.
- Popping up notifications is a no without a phone triggering them.
thomas
08-29-2017 03:37
08-29-2017 03:37
Just to clarify, are you saying that I cannot write an app that pops up messages in response to sensor readings or companion messages while the watch is showing the clock face?
08-29-2017 09:01
08-29-2017 09:01
To do this your app has to be running (or your app has to be a clock face).
Let me know if that is not clear enough.
08-29-2017 15:17
08-29-2017 15:17
Okay, not ideal. It would be nice for apps to be able to push into the notification queue. Thanks for the response!
08-30-2017 03:02
08-30-2017 03:02
Do sensor reading keep working when screen turns off? Is there estimate how long when e.g. accelerometer can be read (e.g. 10 Hz, batch 100) on full battery?
09-08-2017 07:26
09-08-2017 07:26
I posted a feature suggestion combining background processing with app-originated notifications: