How can i take the responsibility of native exceptions and don't let the app crash on release mode ?
the app continue working fine after dismissing this propmt.
How can i take the responsibility of native exceptions and don't let the app crash on release mode ?
the app continue working fine after dismissing this propmt.
You can handle exceptions and errors in your entire app by wrapping it inside an Error Boundary. From the official React docs:
Error boundaries are React components that catch JavaScript errors anywhere in their child component tree, log those errors, and display a fallback UI instead of the component tree that crashed.
Read more about error boundaries and how to use them here (Official React documentation).