Last active
March 31, 2021 18:19
-
-
Save Rashidium/dd543d10061800325e30fe4ffa3c32c5 to your computer and use it in GitHub Desktop.
AppLinkable with payload
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
/// AppLinkable's for deeplink navigation. | |
public protocol AppLinkable { | |
/// Returns AppLinkable if url is satisfied | |
/// - Parameter url: URL of deeplink | |
func getLinkable(_ url: URL) -> Self? | |
/// Returns AppLinkable if url is satisfied. | |
/// - Parameter payload: Push notification payload of the deeplink. | |
func getLinkable(payload: [AnyHashable: Any]) -> Self? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment