Skip to content

Commit 81416cf

Browse files
committed
add patch details
1 parent 3dfad59 commit 81416cf

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# `react-native-performance` patches
2+
3+
### [react-native-performance+5.1.4+001+fix-soft-crash-by-checking-for-active-react-instance.patch](react-native-performance+5.1.4+001+fix-soft-crash-by-checking-for-active-react-instance.patch)
4+
5+
- Reason:
6+
7+
```
8+
`react-native-performance` emits some events using `RCTDeviceEventEmitter` on Android. Emitter should be used only after react instance has been created.
9+
Otherwise, soft exception is thrown:
10+
11+
```
12+
raiseSoftException(callWithExistingReactInstance(callFunctionOnModule("RCTDeviceEventEmitter", "emit"))): Execute: reactInstance is null. Dropping work.
13+
```
14+
```
15+
16+
- Upstream PR/issue: https://github.com/oblador/react-native-performance/pull/117
17+
- E/App issue: https://github.com/Expensify/App/issues/66231
18+
- PR introducing patch: https://github.com/Expensify/App/pull/66230

patches/react-native-performance+5.1.4+001+fix-soft-crash-by-checking-for-active-react-instance.patch renamed to patches/react-native-performance/react-native-performance+5.1.4+001+fix-soft-crash-by-checking-for-active-react-instance.patch

File renamed without changes.

0 commit comments

Comments
 (0)