dotNetify-react-native-demo icon indicating copy to clipboard operation
dotNetify-react-native-demo copied to clipboard

Top-level connection handling

Open skyleraustin opened this issue 8 years ago • 3 comments

It seems that neither dotnetify.connectionStateHandler or exceptionHandler on dotnetify.react.connect are capable of handling top-level connection issues. Backend server communication issues (say, server not listening) result in red screens in Expo, and presumably app crashes in production mode.

It looks like your demo app does not have this issue on 2.0.8 (a failed connection seems to hang with no feedback, but also no crashes), but upgrading it to 3.0.1 reproduces what I am seeing.

skyleraustin avatar Nov 06 '18 07:11 skyleraustin

This will be fixed in the next library update.

dsuryd avatar Nov 07 '18 15:11 dsuryd

Great. Thank you for being so responsive.

skyleraustin avatar Nov 07 '18 16:11 skyleraustin

New version 3.3.1 has been published.

dsuryd avatar Nov 28 '18 18:11 dsuryd