After installing aws-sdk for react native and adding:
var AWS = require('aws-sdk/dist/aws-sdk-react-native');
to one of the screens, my app bundle loads up to 99%, freezes and then I get the following error:
Failed to load bundle(http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false) with error:(Could not connect to development server.Ensure the following:- Node server is running and available on the same network - run 'npm start' from react-native root- Node server URL is correctly set in AppDelegate- WiFi is enabled and connected to the same network as the Node Server
...
also this error message appears in my Xcode terminal:
Call retries were exceeded aws react native
How to fix this bug?
from my package.json:
"dependencies": { ..."amazon-kinesis-video-streams-webrtc": "^1.0.8","aws-sdk": "^2.689.0","events": "^3.1.0","react": "16.11.0","react-native": "0.62.2", ... },