Running a React Native app with "@amplitude/analytics-react-native": "0.8.0", an error occurs after losing network connectivity:
Amplitude Logger [Error]: TypeError: Network request failed
Wrapping the Amplitude methods with try/catch does not affect the triggering of this error, leaving me to assume it’s an issue with the SDK. Is this a known issue or do you have any solutions that you can provide?
Best answer by eddie.gaonaView original
@mpettit hope all is well!
The error being shown seems to indicate that the error is actually with access permissions to the internet. Here are a couple of links that can help depending on which platform you are seeing the error:
Hope this helps!
The crash occurs in iOS and Android. The access permissions are set correctly and the issue only occurs after the device loses internet connectivity. Do you have any other suggestions?