Comments (8)
What is the size of the string? Does it exceed 16Mb?
from react-native-wifi-p2p.
Thankyou for your prompt response.
String size will not exceed 16mb
from react-native-wifi-p2p.
Okay, why can't you use sendFile
? I guess it's more suitable?
But overall sending base64 also should work - does it throw any particular error?
from react-native-wifi-p2p.
Here you go getting same error when using sendFile() and sendMessage()
from react-native-wifi-p2p.
@anuragkaushik10 do you call getConnectionInfo
? https://github.com/kirillzyusko/react-native-wifi-p2p?tab=readme-ov-file#sendmessagemessage
from react-native-wifi-p2p.
Okay I will do but before that.
The steps ->
- Search for devices using startDiscoveringPeers();
- After this by passing the device address I will connect the device using connect(deviceAddress)
- Start to using sendMessage or sendFile functions on sender side and simultaneously call receiveMessage and receiveFile functions on receiver side.
from react-native-wifi-p2p.
Hey when following the steps mentioned in README for sending message.
Calling createGroup() gives the following error
++++
Also calling getConnectionInfo() after calling createGroup() gives the following message
{"groupFormed": true, "groupOwnerAddress": {"hostAddress": "host:name", "isLoopbackAddress": false}, "isGroupOwner": false}
from react-native-wifi-p2p.
Calling createGroup() gives the following error
@anuragkaushik10 Can you share adb logs?
from react-native-wifi-p2p.
Related Issues (20)
- Urgent: Sending File from Server to Client HOT 5
- Could not resolve all files for configuration ':react-native-wifi-p2p:classpath' HOT 7
- Android 13 rejects startDiscoveringPeers() with code 0 HOT 7
- Receive messages when the device is a mobile hotspot HOT 1
- sendMessage and receiveMessage refactoring? HOT 6
- connectionInfo is not updated when connection closes HOT 5
- SendMessageTo - can't use MAC address and we don't have ip addresses HOT 7
- sendFile and receiveFile refactoring HOT 6
- I want to make a real-time-streaming (Two Android devices connected 1:1) HOT 2
- Get Available devices not working HOT 4
- getAvailablePeers() always return empty array HOT 3
- method getAvailablePeers() always return empty device array HOT 1
- TypeError: null is not an object (evaluating 'WiFiP2PManager.init') HOT 1
- startDiscoveringPeers function is working in debug mode but not working in release apk anyone has any solution about that? HOT 10
- Library is not working in Android Version 12 or more upgrade version HOT 9
- Issue in Android version 13 HOT 2
- Library not working on latest android versions HOT 5
- Not working on Andriod 14 HOT 9
- Unable to startPearDiscovery - Android 10 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-wifi-p2p.