Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reopen running instance instead of starting a new one upon tapping app icon #1161

Closed
Davincible opened this issue Nov 6, 2017 · 6 comments
Closed

Comments

@Davincible
Copy link

Davincible commented Nov 6, 2017

I always get an 'app has crashed' message if I open my app on android when I already opened the app before. My suspicion is that the already running instance crashes, and that a new one is started(which opens fine).
But I would like to re-open the already running instance (if there is one), instead of starting a new one when I tap on the app icon.

How can I achieve this?

@Davincible Davincible changed the title Reopen running instance instead of starting a new one upon clicking app icon Reopen running instance instead of starting a new one upon tapping app icon Nov 6, 2017
@inclement
Copy link
Member

Have you added def on_pause(self): return True to your App class?

@Davincible
Copy link
Author

Yes I've done that, although I thought the default was to return True

@Fogapod
Copy link
Contributor

Fogapod commented Nov 18, 2017

Ref: #1099

@inclement
Copy link
Member

I'm not sure what could be wrong here. It isn't clear to me that it's related to #1099, unless a service is involved?

@Davincible Do all Kivy apps have this behaviour, or just the ones you build? And is it all the ones you build, or does a simple test app with no extra behaviour work?

@inclement
Copy link
Member

Closing as apparently not an active issue, I haven't seen other issues like this.

@Davincible
Copy link
Author

Yes turns out to be an issue related to that specific app, others work fine. Have no clue where to start looking for the problem though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants