mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
206bb6d3b9
Summary: Update the "nativeStackAndroid" frame limit to 50 and include the class name on the "nativeStackAndroid". nativeStackAndroid only contains up to 10 lines of stack traces. This is due to the "ERROR_STACK_FRAME_LIMIT" set to 10 on https://github.com/facebook/react-native/blob/master/ReactAndroid/src/main/java/com/facebook/react/bridge/PromiseImpl.java.  nativeStackAndroid should contain a more reasonable number of the native stack traces. (nativeStackIOS includes all of them). another improvement could be adding the "declaringClass" on top of the "methodName", "LineNumber", and "file" on the stack trace frameMap.  ## Changelog [Android] [Added] - Update the "nativeStackAndroid" frame limit to 50 and include class name Pull Request resolved: https://github.com/facebook/react-native/pull/25014 Differential Revision: D15503022 Pulled By: cpojer fbshipit-source-id: 6f1bc25ea739715d0e7589d430bf9cf72da305b2
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.