Open HajerWael opened 1 year ago
I have the same issue, not working in android
did you find any solution?
I have created a fix for this and a pull request has been created: https://github.com/VNAPNIC/flutter_nearby_connections/pull/62
The fix was to upgrade to the latest version of the Google Nearby Connections library and to add new permissions that are required by Android 12 and above.
I'm not sure how actively this package is being maintained, so until this PR is merged, you can find a working version of it at my fork: https://github.com/champeauxr/flutter_nearby_connections
Reference this in your flutter app with the following:
dependencies:
flutter_nearby_connections:
git:
url: https://github.com/champeauxr/flutter_nearby_connections
ref: master
It works well on real devices android version below 12 ,
trials as below: 1) Tried to add these extra permission in the manifest as mentioned here [issue#29].
2) tried to change device_info package with device_info_plus as mentioned here [issue#48].
still didn't work , any advices please,
Thanks in advanced.