Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ReactAndroid: add -fexceptions -frtti to jni CFLAGS
This fixes a regression on Android introduced by f3e5cce where JS errors thrown during bundle load were lost (shown only as UnknownCppException). It is especially tough to debug (custom) bundling errors without seeing the javascript error. Root cause hypothesis: since switching to clang, JSErrors thrown in ReactCommon's JSCRuntime::checkException were never matched as std::exception in Android's convertCppExceptionToJavaException due to these missing flags.
- Loading branch information