Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid crashing when native call fails #51

Closed
JulianBissekkou opened this issue Nov 24, 2023 · 1 comment · Fixed by #52
Closed

Avoid crashing when native call fails #51

JulianBissekkou opened this issue Nov 24, 2023 · 1 comment · Fixed by #52
Assignees

Comments

@JulianBissekkou
Copy link
Collaborator

In the current implementation, the app process is terminated when throwing an exception on Swift and Android.
The developer experience can be improved when the method call is handled with result.error instead.
That way, developers don't have to rerun the app and they can continue to use hot reload and try again.

@JulianBissekkou JulianBissekkou self-assigned this Nov 24, 2023
@JulianBissekkou
Copy link
Collaborator Author

I will take care of this in the next days.

@JulianBissekkou JulianBissekkou linked a pull request Nov 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant