08-28-2017 12:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-28-2017 12:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Can third party app be background running on Ionic?
Answered! Go to the Best Answer.

Accepted Solutions
08-28-2017 16:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-28-2017 16:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-28-2017 16:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-28-2017 16:38
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-28-2017 16:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-29-2017 03:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-29-2017 09:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-29-2017 15:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-30-2017 03:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-08-2017 07:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
I posted a feature suggestion combining background processing with app-originated notifications:
