-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recreate the iOS app UI on a new deep link incoming
With this change whenever a deep link is received, we create a completely new AppComponent so that we start from a clean slate. In order to be able to observe this change from SwiftUI we also store a local @State object which we increment at the same time in order to trigger a re-render of the View. This is absolutely a hack and we should find a better approach as soon as possible
- Loading branch information
1 parent
aec1b4e
commit 48f0fea
Showing
3 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters