| #
506f58dd |
| 06-May-2023 |
Will Schurman <[email protected]> |
[expo-updates][expo-go] Support new SDK version field in new manifests (#22356)
|
| #
12ef5388 |
| 16-Dec-2021 |
Kudo Chien <[email protected]> |
[android] Fix another background task exception (#15591)
# Why
yet another exception specific happen to background task manager, especially switching from background to foreground. the `JSIModule
[android] Fix another background task exception (#15591)
# Why
yet another exception specific happen to background task manager, especially switching from background to foreground. the `JSIModulePackage` is called before the `ReactInstanceManager` attached to `ReactNativeActivity`. in this case, we will get a NPE like this:
```
wn:ReactInstanceManager W Instance detached from instance manager
ExperienceActivity E java.lang.NullPointerException
j E Runtime exception in RNObject when calling method getDevSupportManager: java.lang.NullPointerException: null receiver
System.err W java.lang.reflect.InvocationTargetException
W at java.lang.reflect.Method.invoke(Native Method)
W at com.facebook.react.bridge.DefaultNativeModuleCallExceptionHandler.handleException(DefaultNativeModuleCallExceptionHandler.java:4)
W at com.facebook.react.devsupport.DisabledDevSupportManager.handleException(DisabledDevSupportManager.java:1)
W at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:19)
W at java.lang.Thread.run(Thread.java:920)
W Caused by: com.facebook.react.common.JavascriptException
W at host.exp.exponent.ReactNativeStaticHelpers.handleReactNativeError(ReactNativeStaticHelpers.kt:8)
W ... 5 more
```
fixes #15515
# How
- leverage kotlin nullable for `ReactNativeActivity.devSupportManager`
- backport VersionedUtils changes to versioned code
# Test Plan
- [standalone app] follow #15515 steps
- [versioned expo go] test changed functions from sdk41-44 & unversioned apps
- reload
- toggleElementInspector
- togglePerformanceMonitor
- toggleRemoteJSDebugging
Co-authored-by: Łukasz Kosmaty <[email protected]>
Co-authored-by: Bartłomiej Klocek <[email protected]>
show more ...
|
| #
031e1c70 |
| 25-Oct-2021 |
Will Schurman <[email protected]> |
[expo-updates][android] Make onBundleCompleted non-nullable (#14838)
|
| #
dafa60a5 |
| 01-Sep-2021 |
Will Schurman <[email protected]> |
[android][expo-manifests] Audit usage of getSDKVersion to ensure lack of requirement (#14237)
|
| #
50661f5c |
| 30-Aug-2021 |
Will Schurman <[email protected]> |
[expo-manifests] Rename RawManifest -> Manifest (#14194)
|
| #
706a476d |
| 26-Aug-2021 |
Will Schurman <[email protected]> |
[expo-updates] Factor out raw manifests into their own package (#14183)
|
| #
db33ddbd |
| 19-Aug-2021 |
Will Schurman <[email protected]> |
[android] Kotlinize versioned core (#14043)
|
| #
058d2dd0 |
| 19-Aug-2021 |
Will Schurman <[email protected]> |
[android] Kotlinize RNObject and KernelModule (#14042)
|
| #
2dd697a6 |
| 17-Aug-2021 |
Will Schurman <[email protected]> |
[android] Kotlinize headless and detached app stuff (#14000)
|