08-10-2021 09:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


08-10-2021 09:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Is it possible to Launch a separate App as a companion and end it from the Watch App rather than it being part of the App ?
Also is there a way leave a companion portion running even if the main portion of the App has ended ?
Does a companion use up any of the watch available memory?
EG. If the companion is present does that make the base App require more watch memory in some way when it loads?
Author | ch, passion for improvement.
Answered! Go to the Best Answer.
Accepted Solutions
08-11-2021 07:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


08-11-2021 07:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
It is possible to launch an app from another. See launchApp(). They can persist shared data in app cluster storage if they're from the same developer.
If your companion uses wakeInterval, it will be woken even if the app isn't running. So you could transfer a file to the device, and that file would be available when the app is launched.
Having a companion doesn't use memory, but once you start using things like the messaging API, then that would use memory.

08-11-2021 07:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


08-11-2021 07:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
It is possible to launch an app from another. See launchApp(). They can persist shared data in app cluster storage if they're from the same developer.
If your companion uses wakeInterval, it will be woken even if the app isn't running. So you could transfer a file to the device, and that file would be available when the app is launched.
Having a companion doesn't use memory, but once you start using things like the messaging API, then that would use memory.

08-11-2021 07:58
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


08-11-2021 07:58
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks, will try it.
Author | ch, passion for improvement.

