Android life cycle question / duplicate process #4981
-
tl;dr: is there any situation in which a Fyne application built for android will have its main process running multiple times on the same device? Reason for the question: In order to prevent multiple instances of my application running on a machine, I use a On desktop this has worked fine, and on android it's seemed to work fine as well, except one instance in which my app refused to launch because of the presence of a If I can just trust that android's lifecycle management stuff is hooked into Fyne such that there's only ever one instance of the main process that's running, and that any goroutines launched from that process are terminated with the app's main process, then I can skip this check on android. But I wanted to see if there was more depth to this issue before just skipping the check. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Android and iOS won't allow multiple instances of an application. |
Beta Was this translation helpful? Give feedback.
Android and iOS won't allow multiple instances of an application.