You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2021. It is now read-only.
Add log statements to onPause, onStop, and onDestroy
Open Firefox on device
Wait 5 minutes for device to time out
Expected: onPause and onStop are called, as per the contracts defined by the Android lifecycle
Actual: only onPause is called
I suspect Fire OS may be doing this intentionally to prevent Android from restoring state to Firefox when it's reopened but we actually think that's desirable behavior #145. Also, diverging from Android and breaking this contract makes it harder to write reliable apps.
@athomasmoz Can we ask Amazon if this intentional and if so why they're doing this? I'd like the behavior to be consistent with Android but if it's necessary to break with convention, I'd like to understand the consequences.
The text was updated successfully, but these errors were encountered:
STR:
onPause
,onStop
, andonDestroy
Expected:
onPause
andonStop
are called, as per the contracts defined by the Android lifecycleActual: only
onPause
is calledI suspect Fire OS may be doing this intentionally to prevent Android from restoring state to Firefox when it's reopened but we actually think that's desirable behavior #145. Also, diverging from Android and breaking this contract makes it harder to write reliable apps.
@athomasmoz Can we ask Amazon if this intentional and if so why they're doing this? I'd like the behavior to be consistent with Android but if it's necessary to break with convention, I'd like to understand the consequences.
The text was updated successfully, but these errors were encountered: