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

Library not working on latest android versions #98

Open
MadhavNimavat opened this issue Jun 20, 2024 · 5 comments
Open

Library not working on latest android versions #98

MadhavNimavat opened this issue Jun 20, 2024 · 5 comments

Comments

@MadhavNimavat
Copy link

I have created a demo based on the code given and when I'm trying to run on Android 13 it not working as expected getAvailablePeers() function always returns an empty array. it not finding devices where I have two emulators .

@kirillzyusko
Copy link
Owner

Hey @MadhavNimavat

Did you read caveats section?

@c-info
Copy link

c-info commented Jun 22, 2024

yes @kirillzyusko I have updated all required code also I'm trying to run the demo code provided in the readme
see below link
https://github.com/kirillzyusko/react-native-wifi-p2p?tab=readme-ov-file#example-of-usage

@kirillzyusko
Copy link
Owner

@c-info the example project has out-of-date code and I wrote it only when Android 9 was available. You'll need to modify the code yourself and ask all necessary permissions 🤷‍♂️

@c-info
Copy link

c-info commented Jun 24, 2024

yes, I have added all necessary permissions. Also, let me know if it will work by using two emulators.

@kirillzyusko
Copy link
Owner

Also, let me know if it will work by using two emulators.

Nope, never - only real devices and I wrote about that in the beginning of the README.

Please, provide adb logs, so that I can assist further

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

3 participants