Open yunau opened 4 years ago
See #551. This SDK is not compatible with expo 37. You have to use 36 until the pr is merged.
@yunau That’s because no one underlined the importance of the version of @react-native-community/netinfo which should be exactly 4.7.0. This library hasn’t been updated to support the latest version sadly.
Hi team,
I got the following error when using aws-appsync, and it looks like a bug of redux-offline. Does "aws-appsync": "^3.0.3" working with expo version 37? Or I have to downgrade to version 36?
Other people have the same issue. https://github.com/aws-amplify/amplify-js/issues/5359
========================================================= [Unhandled promise rejection: TypeError: _netinfo.default.getConnectionInfo is not a function. (In '_netinfo.default.getConnectionInfo()', '_netinfo.default.getConnectionInfo' is undefined)]
[Unhandled promise rejection: TypeError: undefined is not an object (evaluating 'netinfo_1.default.isConnected.fetch')]
[Unhandled promise rejection: TypeError: handler is not a function. (In 'handler(nextState)', 'handler' is "connectionChange")]
I am using "expo": "~37.0.3", "aws-appsync": "^3.0.3", "aws-appsync-react": "^3.0.3", "react-apollo": "2.5.8", "@react-native-community/netinfo": "5.5.0".