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

Device doesn't show up after hitting back button from device app #12

Open
bradjc opened this issue Oct 9, 2015 · 0 comments
Open

Device doesn't show up after hitting back button from device app #12

bradjc opened this issue Oct 9, 2015 · 0 comments

Comments

@bradjc
Copy link
Member

bradjc commented Oct 9, 2015

If I hit the back button after using the PolyPoint app, the tritag I had connected to doesn't show up in the list again. I think this is because summon is still connected to it, so the tritag is not advertising. It doesn't appear that onPause gets called, which is where I have a ble.disconnect call.

I'm not sure what the best way to handle this is. It seems like back should kill the app (or maybe after a delay) and onPause should get called so that it can clean up any state.

On the other hand, having the app go right back to where it was if it is re-selected would make for a better user experience.

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

1 participant