-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android: Forward suspended()
and resumed()
events and patch up platform-specific documentation
#3786
Conversation
d30b5fb
to
8eaaf98
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, feel free to merge once you think it's ready!
8eaaf98
to
41c9c71
Compare
41c9c71
to
0a2a176
Compare
(I changed OP to not fix #3779, it just addresses it) |
0a2a176
to
b9bcfd7
Compare
I thought this was fixing the issue entirely but it seems there's still more to address for Web/iOS, and maybe together with more Android changes like #3897? @daxpedda let me know if you can review this, it should address all except one (duplicated) comment from #3765 (review). |
I took the whole day today to do some catch up on my open source responsibilities, so if I don't manage to do it today feel free to go ahead. |
b9bcfd7
to
9a488fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff!
…atform-specific documentation Key them off of `onStop()` and `onStart()` which seems to match the other backends most closely. These [Android Activity lifecycle] events denote when the application is visible on-screen, and recommend that any heavy lifting for startup and shutdown happens here, as the application may be demoted to the background and later shut down entirely unless the user navigates back to it. [Android Activity lifecycle]: https://developer.android.com/guide/components/activities/activity-lifecycle
9a488fb
to
c44ddc4
Compare
Thanks for all the reviews! |
Addresses #3779
Key them off of
onStop()
andonStart()
which seems to match the other backends most closely. These Android Activity lifecycle events denote when the application is visible on-screen, and recommend that any heavy lifting for startup and shutdown happens here, as the application may be demoted to the background and later shut down entirely unless the user navigates back to it.EDIT: Also addresses some of the late review comments that were posted on #3765.
changelog
module if knowledge of this change could be valuable to users