React-Native Possible unhandled Promise Rejection
See original GitHub issueThe server gets connection request but doesn’t work after that and doesn’t connect to the server. But when I turn on remote JS debugging it works perfectly.
React Native Environment Info:
System:
OS: macOS 10.14
CPU: x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
Memory: 1.29 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.11.1 - /usr/local/bin/node
Yarn: 1.10.1 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
Android SDK:
Build Tools: 21.1.2, 23.0.1, 24.0.1, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.0, 28.0.1
API Levels: 18, 21, 22, 23, 24, 25, 26, 27
IDEs:
Android Studio: 3.1 AI-173.4907809
Xcode: 10.0/10A255 - /usr/bin/xcodebuild
npmPackages:
react: 16.5.0 => 16.5.0
react-native: ^0.57.2 => 0.57.2
"reconnecting-websocket": "^4.1.5"
Device Android 5.1.1
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
React Native: Possible unhandled promise rejection
Click on your project in the Project Navigator · Open the Info tab · Click on the down arrow left to the "App...
Read more >Possible Unhandled Promise Rejection (id:0) #7107 - GitHub
If this object is disturbed or locked, return a new promise rejected with a TypeError. Simply said, the following is likely to produce...
Read more >React Native Auth0 Possible Unhandled Promise Rejection
Possible Unhandled Promise Rejection (id: 1): TypeError: undefined is not an object (evaluating '_yield$getCredentials.accessToken').
Read more >React Native Auth0 Possible Unhandled Promise Rejection
My understanding of the error is that it is saying, 'we can't find any value for the Auth0Module object property you are looking...
Read more >Possible Unhandled Promise Rejection: Error
I am suspecting because of this it is not able to subscribe to all topics. My Environment Details: react-native: 0.61.5 @cometchat-pro/react- ...
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 Free
Top 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
@outaTiME thanks for the tip but I prefer to keep the library light and dependency free. I’ve also replaced spread operator usage for apply (v4.1.8)
Thank you all for reporting and investigating this issue!
Great @pladaria, thanks once for your time the v4.1.8 version works great without issues 👍 👍
@iamchathu The stacktrace cames from react native console not from application UI (im using Expo but it works in the same way as react native)