-
The app logs in Android the state transitions with How do you override or implement this methods in your app to perform custom logic? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
Awesome. I thought that file was generated and overwritten on each build. What do you mean with Thanks! |
Beta Was this translation helpful? Give feedback.
-
Perfect. Thank you so much! |
Beta Was this translation helpful? Give feedback.
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.