crash on react native android after upgrading to v3
See original GitHub issueAfter migrating to socket.io-client 3.0.3 (from v2) I get a crash on my android client (ios client works fine with this version) The crash seems to be native implementation related: Attempt to invoke virtual method ‘boolean java.lang.Boolean.booleanValue()’ on a null object reference
I init the socket through socket manager this way:
this.socketManager = new Manager(urlConnection, {
reconnectionDelay: 500,
reconnectionDelayMax: 500,
timeout: 4000,
});
this.socket = this.socketManager.socket('/');
Was anyone able to use v3 client on android?
Env: socket.io: 3.0.3 socket.io-client: 3.0.3 socket.io-redis: 6.0.1 react-native: 0.63.3
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
[Android] [Reanimated] Crash when upgrade react native from ...
Description Hi, the Android crash with me at start when I've upgraded react native from 0.69.2 to 0.70 Working normally on IOS Here...
Read more >My React Native App Crash After Update Target Sdk Version 31
The app crashes on Android 12 version devices. It works on android 10 or 11. My package.json file: { "name": "app", ...
Read more >Fixing React-Native android release build - wesionaryTEAM
Android release build crashes on launch but works fine in development mode. After months of research and development, your app is finally ready...
Read more >Using Hermes - React Native
npx react-native run-android --variant release ... After upgrading the app, make sure everything works before trying to switch to Hermes.
Read more >App Center Crashes for React Native - Microsoft Learn
The log is first written to the device's storage and when the user starts the app again, the crash report will be sent...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks! Uninstalling and reinstalling socket.io-client updated all the dependencies to the latest versions and solved the issue for me
then please open another issue since this one was dealing with android crash