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

ErrorCallback: Unable to establish connection on channel when hot restart #118

Open
aavaa-farnood opened this issue Dec 23, 2024 · 4 comments

Comments

@aavaa-farnood
Copy link

I receive this error around 400 times upon hot restart of the application:

ErrorCallback: Unable to establish connection on channel: 'dev.flutter.pigeon.universal_ble.UniversalBleCallbackChannel.onScanResult'.

Flutter:

Flutter 3.27.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 17025dd882 (7 days ago) • 2024-12-17 03:23:09 +0900
Engine • revision cb4b5fff73
Tools • Dart 3.6.0 • DevTools 2.40.2

Package:

universal_ble: ^0.14.0
@rohitsangwan01
Copy link
Contributor

I receive this error approximately 400 times upon a hot restart of the application.

Are you saying the error occurs on the 400th hot restart, or does it happen 400 times during a single hot restart? Could you clarify?

@aavaa-farnood
Copy link
Author

After one single hot restart, it throws 400 errors like mentioned above until the application restarts completely.

@rohitsangwan01
Copy link
Contributor

@aavaa-farnood can you share a minimal code snippet to reproduce this

@aavaa-farnood
Copy link
Author

@rohitsangwan01 you just need to run the repo's example with the environment values I gave you and hot restart the application. You will see all the errors thrown while hot restarting.

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

2 participants