Skip to content

Introduce a setting for auto catching exceptions when calling JS method nativeΒ #1119

@vtrifonov

Description

@vtrifonov

We need a setting to enable and disable catching exceptions when calling the callJSMethodNative method. If enabled those exceptions will be caught an logged without propagating them.
The default value of that setting is false, so if such an error occurs it won't be caught and if not handled somewhere else will crash the application.
The flag is disabled by default, so if you want to enable it you should add in your app/package.json file this:

{
	...
	"discardUncaughtJsExceptions": true
}

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions