Closed ganesh42shrma closed 1 week ago
Looks like a module hasn't been linked?
Have you tried to reassemble the app? And do you run a new architecture or old one? This library doesn't support a new architecture yet
The auto-linking feature is not working so I will try to link it manually. Could you clarify:
Recommended React Native version?
Does "new architecture" mean no arm64 support?
Should I use an arm device instead?
Are there plans for arm64 support?
@ganesh42shrma it supports all Android architectures. Right now RN has two architectures (paper - old, fabric - new), and this package supports only old (paper) architecture.
Recommended React Native version?
Theoretically it should be compatible with all recent RN versions 🤷♂️
Hey , The application did launch but it returns an empty array of devices. The permissions are also now granted ig ( that wasnt the case earlier ) . I have attached the adb logcat for the same, could you help me out please .
.
In your logs I see:
2024-06-24 13:53:58.501 26086-26152 ReactNativeJS com.wifidirectapp I Permission denied: P2P mode may not work correctly.
Maybe because of that it returns an empty array?
Also it looks like logs are grouped for a specific process com.wifidirectapp
? I would suggest to grab all logs, because sometimes OS throws useful logs that clearly indicates where the problem is 👍
Sorry to bother you again, I went through the logs , I was unable to debug why this is happening , I have also attached all logs . Maybe you can find something ? All_logs.txt To help you Filter , here is the log when I called the getAvailabledevices() :
2024-06-24 15:04:01.432 8357-8473 ReactNativeJS com.wifidirectapp I { devices: [] }
This keeps popping up , maybe it has something to do with not getting the available devices ?
2024-06-24 15:43:05.788 1076-1076 wificond wificond E Failed to get interface index from scan result notification
Actually , I can see the devices now. Tested it on different devices , somehow it did not work on one device , will troubleshoot further.Thank you for responding immediately and helping me out. I will ask for your help in the future again if I have any bugs,issues regarding the module please don't mind hehe.
Hey I am new to react-native , but I followed your documentation and did the necessary imports and also ensured I specified all the permissions in androidmanifest.xml as well used the react-native-permissions module in run time. When I run the Application i get the following errors ( please refer the image and the logcat.txt ) Please help and suggest changes. Thank you apptsx.txt
logcat of wifidirect example.txt
I have also provided my App.tsx code just in case.