Switch to universal links on iOS

This commit is contained in:
Ivan Grachev 2022-08-26 22:17:13 +03:00
parent d105d6e5a3
commit bd2c72de59
2 changed files with 5 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class AccountsListViewController: UIViewController, DataStateContainer {
}
@objc private func processInput() {
let prefix = "tokenary://"
let prefix = "https://tokenary.io/extension?query="
guard let url = launchURL?.absoluteString, url.hasPrefix(prefix),
let request = SafariRequest(query: String(url.dropFirst(prefix.count))) else { return }
launchURL = nil

View File

@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:tokenary.io</string>
</array>
<key>com.apple.security.application-groups</key>
<array>
<string>group.io.tokenary</string>