fix(ios): Use WillEnterForeground instead of DidBecomeActive for Event::Resumed in iOS - #1146
Conversation
Package Changes Through 853080eThere are 1 changes which include tao with minor Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
|
I think we should use Event::Resumed for this.. it would also match the Android behavior (though that one needs a bug fix to not call the method on the first run) |
|
Both events may have their own use cases, but if applicationWillEnterForeground is more closely aligned with Event::Resumed, it can be changed. |
|
@lucasfernog I've updated the code to use Event::Resumed. |
|
btw I think |
…for Event::Resumed in iOS (tauri-apps#1146)" This reverts commit 1804001.
This is a useful event to prepare your app before it enters the foreground on iOS.