| f2da603b | 15-Jun-2022 |
Łukasz Kosmaty <[email protected]> |
[dev-launcher][Android] Fix the application crashing when the user forces in the system setting (#17858)
# Why
Fixes the application crashing when the user forces a dark mode only for the dev-cli
[dev-launcher][Android] Fix the application crashing when the user forces in the system setting (#17858)
# Why
Fixes the application crashing when the user forces a dark mode only for the dev-client app in the system setting on Android.
# How
When the dark mode is forced only for the one particular dev-client app, the system will try to call `onConfigurationChanged` shortly after the application was launched. In our case, this function may be invoked on the `DevLauncherReactActivityNOPDelegate`. That will lead to a null ptr exception in the RN codebase.
# Test Plan
- bare-expo ✅
show more ...
|