Skip to content

How do you implement the app state transitions? #331

Answered by marcprux
lexum0 asked this question in Q&A
Discussion options

You must be logged in to vote

The situation is not ideal, but our generated Android/app/src/main/kotlin/Main.kt file contains onPause, onResume, onStop, onRestart, etc. implementations that you can add logic to. You can call into your app's top-level code from there, and then try to share the logic with whatever you do in the SwiftUI app lifecycle delegates.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by marcprux
Comment options

You must be logged in to vote
1 reply
@marcprux
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants