-
Notifications
You must be signed in to change notification settings - Fork 340
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
android bluetotth scaning not working,ios working #119
Comments
Same issue, any solutions ?? |
solved the issue with adding permission from flutter also added android manifest.xml var statusLocation = Permission.location;
|
@iyashiyas @ferns-it can you share your AndroidManifest and a more detailed code snippet? Specifically have you used permission_handler package? |
@iyashiyas @ferns-it I was able to figure out. Thank you. However, it does not work with Android 12. Worked fine with Android 9. |
Android 12 doesn't work initially. You'll have to follow this: https://stackoverflow.com/questions/70578601/android-12-ble-scan-does-not-find-any-devices As a result, I had these in the Android manifest file:
Then I request the following permissions at runtime: await Permission.bluetoothConnect.request();
await Permission.bluetoothScan.request();
await Permission.locationWhenInUse.request(); |
Thanks ,this works for me |
Android Not scanning, ios working, is there. any option to scan paired devices ?
The text was updated successfully, but these errors were encountered: