Comments (5)
Thanks for the report. Working on a solution.
from react-native-tcp-socket.
The issue is related to your RN version. The library uses methods only available in RN >= 0.61.
I have released 1.2.2
, compatible with RN 0.60. Check if everything works. Check the README for more details.
from react-native-tcp-socket.
Great! It worked! You're the best! Cheers!
from react-native-tcp-socket.
my package.json:
{
"name": "socket",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "react-native start",
"test": "jest",
"lint": "eslint .",
"run-dev": "yarn cache clean && react-native run-android && react-native log-android",
"build-dev": "react-native bundle --dev false --platform android --entry-file index.js --bundle-output ./android/app/src/main/assets/index.android.bundle --assets-dest ./android/app/src/main/res && cd android && ./gradlew assembleDebug",
"clean": "cd android && ./gradlew clean && rm -rf ~/.gradle/caches/*"
},
"dependencies": {
"@react-native-community/async-storage": "^1.6.2",
"@react-native-community/cameraroll": "^1.2.1",
"@react-native-community/cli": "^2.9.0",
"axios": "^0.19.0",
"color": "^3.1.2",
"formik": "^1.5.8",
"lodash": "^4.17.15",
"moment": "^2.24.0",
"prop-types": "^15.7.2",
"qs": "^6.9.0",
"react": "16.8.6",
"react-dom": "^16.8.6",
"react-native": "0.60.0",
"react-native-camera-kit": "^8.0.2",
"react-native-circular-action-menu-hero99": "^0.5.0",
"react-native-easy-grid": "^0.2.2",
"react-native-fs": "^2.15.2",
"react-native-gesture-handler": "^1.4.1",
"react-native-image-mapper": "^0.1.11",
"react-native-masked-text": "^1.13.0",
"react-native-modal-datetime-picker": "^7.6.0",
"react-native-paper": "^2.16.0",
"react-native-reanimated": "^1.3.0",
"react-native-safe-area-context": "^0.5.0",
"react-native-screens": "^1.0.0-alpha.23",
"react-native-tcp-socket": "^1.2.1",
"react-native-vector-icons": "^6.6.0",
"react-native-wifi-p2p": "^1.0.0",
"react-navigation": "^4.0.10",
"react-navigation-stack": "^1.10.2",
"react-redux": "^7.1.1",
"redux": "^4.0.4",
"redux-thunk": "^2.3.0",
"yup": "^0.27.0"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/runtime": "^7.6.3",
"@react-native-community/eslint-config": "^0.0.5",
"babel-jest": "^24.9.0",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"jest": "^24.9.0",
"metro-react-native-babel-preset": "^0.56.0",
"react-test-renderer": "16.8.6"
},
"jest": {
"preset": "react-native"
}
}
from react-native-tcp-socket.
Thank you so much! I will try it out and let you know!
from react-native-tcp-socket.
Related Issues (20)
- [ios]App crash when a error occurs during server connection HOT 1
- java.lang.IllegalArgumentException Tcp Sockets: No socket with id HOT 4
- Cannot destroy the connection from timeout while connecting HOT 2
- Wrong error message on iOS ("error in connect() function") HOT 1
- Nmap port scan crashes the entire app on iOS 16 HOT 2
- tls authentication support ? HOT 2
- Question how to i perform tls authentication handshake HOT 1
- java.io.IOException: Interface wifi unreachable HOT 1
- Socket remains open after reloading in react-native HOT 1
- android close on reload HOT 1
- How to set up cross domain on the server HOT 1
- How to reconnect immediately to the same socket instance HOT 3
- Bug on TcpSocket.createConnection after creating/destroying 4/5 times HOT 3
- TypeError: Cannot read property 'connect' of null, js engine: hermes HOT 5
- net.createServer(options, listener) is not supported
- Using a pinned certificate will always incorrectly trust peer on iOS HOT 1
- server.on(connection , socket => {} ) not working
- Minor inconsistency with node's net api HOT 1
- Request: Support React Native Architure
- Attempt to invoke virtual method 'java.io.InputStream java.net.Socket.getInputStream()' on a null object reference HOT 3
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-tcp-socket.