Giter Club home page Giter Club logo

Comments (8)

sharmakumaraditya avatar sharmakumaraditya commented on August 30, 2024 1

Sure i got it, the app crashes when the create group is clicked more than once.

from react-native-wifi-p2p.

kirillzyusko avatar kirillzyusko commented on August 30, 2024

Hi @sharmakumaraditya

  1. Does your device support p2p feature? Are you sure, that wifi enabled, when you call createGroup?
  2. Did you call init method in the beginning?
  3. Could you capture logs via adb logcat and send them here as *.txt file?

from react-native-wifi-p2p.

sharmakumaraditya avatar sharmakumaraditya commented on August 30, 2024

link to the txt file : log.txt

  1. Yes my Device does support p2p

Thanks for the quick reply

from react-native-wifi-p2p.

kirillzyusko avatar kirillzyusko commented on August 30, 2024

It looks like state.devices is empty. Then state.devices[0].deviceAddress will give you an error.
Am I correct?

from react-native-wifi-p2p.

sharmakumaraditya avatar sharmakumaraditya commented on August 30, 2024

I actually haven't checked that , i am just using this example https://github.com/kirillzyusko/react-native-wifi-p2p-example , i have just cloned this repo and actually i am trying to run this app.

from react-native-wifi-p2p.

kirillzyusko avatar kirillzyusko commented on August 30, 2024

Can you attach log when you do following:

  1. Open app
  2. Call createGroup

from react-native-wifi-p2p.

sharmakumaraditya avatar sharmakumaraditya commented on August 30, 2024

log.txt

This is the log file for create group

from react-native-wifi-p2p.

kirillzyusko avatar kirillzyusko commented on August 30, 2024

@sharmakumaraditya cool. But I see only JS logs. I'd like to see all logs (including Java). Could you please capture it via adb logcat comand?

from react-native-wifi-p2p.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.