mirror of
https://github.com/lil-org/tokenary.git
synced 2024-11-30 13:02:49 +03:00
Switch to universal links on iOS
This commit is contained in:
parent
d105d6e5a3
commit
bd2c72de59
@ -212,7 +212,7 @@ class AccountsListViewController: UIViewController, DataStateContainer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@objc private func processInput() {
|
@objc private func processInput() {
|
||||||
let prefix = "tokenary://"
|
let prefix = "https://tokenary.io/extension?query="
|
||||||
guard let url = launchURL?.absoluteString, url.hasPrefix(prefix),
|
guard let url = launchURL?.absoluteString, url.hasPrefix(prefix),
|
||||||
let request = SafariRequest(query: String(url.dropFirst(prefix.count))) else { return }
|
let request = SafariRequest(query: String(url.dropFirst(prefix.count))) else { return }
|
||||||
launchURL = nil
|
launchURL = nil
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
|
<key>com.apple.developer.associated-domains</key>
|
||||||
|
<array>
|
||||||
|
<string>applinks:tokenary.io</string>
|
||||||
|
</array>
|
||||||
<key>com.apple.security.application-groups</key>
|
<key>com.apple.security.application-groups</key>
|
||||||
<array>
|
<array>
|
||||||
<string>group.io.tokenary</string>
|
<string>group.io.tokenary</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user