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

Plugin stops working on Android above version 12 #49

Open
HajerWael opened this issue Jun 19, 2023 · 3 comments
Open

Plugin stops working on Android above version 12 #49

HajerWael opened this issue Jun 19, 2023 · 3 comments

Comments

@HajerWael
Copy link

HajerWael commented Jun 19, 2023

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].
  1. 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.

@joshuamoreno1
Copy link

I have the same issue, not working in android

@juanxcueva
Copy link
Contributor

did you find any solution?

@champeauxr
Copy link

I have created a fix for this and a pull request has been created:
#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

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

4 participants