Closed wangbo4020 closed 3 years ago
Recursive call, Please modify it like this then publish, come on
line 41 override fun onDetachedFromActivityForConfigChanges() {
line 42 - handler?.setActivity(null)
line 42 + onDetachedFromActivity()
line 43 }
line 50 override fun onDetachedFromActivity() {
line 51 - onDetachedFromActivity()
line 51 + handler?.setActivity(null)
line 52 }
I'm seeing this as well. I've tested the fix suggested above by wangbo4020 and I can confirm that it works. Please release this asap - thank you.
Fixed
Does it cause the app to crash? I mean is the app closed on user's device when this occurs?
@wangbo4020 @nickwri @Zfinix sorry for disturbing you, but I have a production app that has crash reports on Firebase crashlytics because of this. It is important to know if it fully crashes the app and closes it
On my app, if i hit the back button to close the app, the problem occurs. If i then resume the app it just hangs and then crashes.
What about just sending the app to the background? Does it continue to work when opened again?
The Fix above https://github.com/Zfinix/carrier_info/issues/12#issuecomment-898611448 has been implemented in 2.0.2 was a bug from a global replace done I'm sorry.
Crash on Android.
carrier_info: 2.0.1