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

iOS Cannot Reconnect on app restart #609

Closed
superami-code opened this issue Jan 1, 2024 · 2 comments
Closed

iOS Cannot Reconnect on app restart #609

superami-code opened this issue Jan 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@superami-code
Copy link

I am developing an Angular/Capacitor App and when the app hot reloads while connected, I can't reconnect to the BLE device. I've tried disconnecting from the device if connect doesn't work. The disconnect it successful, but connection still doesn't work. Power cycling the BLE device doesn't work either. The only way to reconnect is to kill and restart the app or disconnect the device in iOS Settings.

This also seems to happen in an early TestFlight build, where the user returned to the app after some time had passed and they had to kill the app before they could reconnect to the BLE device.

Is there some way to completely reset the interface?

@capacitor-community/bluetooth-le 3.1.1
@capacitor/core 5.0.3
@angular/core 17.06

@superami-code superami-code added the bug Something isn't working label Jan 1, 2024
@pwespi
Copy link
Member

pwespi commented Jan 8, 2024

Have you tried using getConnectedDevices?

Copy link

github-actions bot commented Feb 8, 2024

It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot.

Have a great day!
Capacitor Community Bot 💙

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants