Poorya Bagheri
Poorya Bagheri
@Alamgir @Serchinastico I faced the same issue I thought of using `commitAllowingStateLoss()` instead of `commit()`. Note that according to android docs it is not a good idea to use [commitAllowingStateLoss](https://developer.android.com/reference/android/app/FragmentTransaction.html#commitAllowingStateLoss())...
so I managed to fix it by clean installing the react native debugger 1. brew uninstall --cask react-native-debugger 2. rm -rf ~/Library/Application Support/React Native Debugger 3. brew install --cask react-native-debugger
For those who face this issue, the cause is serializing listener. so when state loss occurs serialization recreates the listener object ( using the values in the object not the...