-
Notifications
You must be signed in to change notification settings - Fork 117
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
Initial skeleton for Universal Link handling. #1638
Conversation
Generated by 🚫 Danger Swift against bc3d4b8 |
4a1bb07
to
bc3d4b8
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## develop #1638 +/- ##
===========================================
- Coverage 57.91% 57.86% -0.05%
===========================================
Files 411 411
Lines 28074 28076 +2
Branches 14000 14000
===========================================
- Hits 16258 16246 -12
- Misses 11372 11384 +12
- Partials 444 446 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
@@ -132,6 +135,15 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationCoordinatorDelegate, | |||
) | |||
} | |||
|
|||
func handleUniversalLink(_ url: URL) { |
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.
I wonder if we should rename this to just handleURL
as it should probably handle non-universal links too
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.
lgtm 👍
This PR adds the initial implementation for receiving Universal Links into the App Coordinator. It doesn't implement parsing
AppRoute
s from the links or do anything with them yet though.Additionally it removes all use of
ServiceLocator.shared.settings
in the App Coordinator.@stefanceriu You're welcome to merge this tomorrow morning if you're happy with it and need to use it.