Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
Universal Links (#1130)
Browse files Browse the repository at this point in the history
* Add custom url scheme, universal link, and app delegate method to intercept universal links for Bento
  • Loading branch information
kaylagalway authored Nov 14, 2019
1 parent 85b434c commit 5574ebf
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 3 deletions.
8 changes: 6 additions & 2 deletions Firefox Lockbox.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>keychain-access-groups</key>
<key>com.apple.developer.associated-domains</key>
<array>
<string>43AQ936H96.org.mozilla.ios.Lockbox</string>
<string>applinks:bhqf.adj.st</string>
</array>
<key>com.apple.developer.authentication-services.autofill-credential-provider</key>
<true/>
<key>com.apple.security.application-groups</key>
<array>
<string>group.org.mozilla.ios.Lockbox</string>
</array>
<key>keychain-access-groups</key>
<array>
<string>43AQ936H96.org.mozilla.ios.Lockbox</string>
</array>
</dict>
</plist>
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
1. Install Xcode version 11.2.1 + Swift 5.1.2.
1. Install Xcode version 11.2.1 + Swift 5.1.2

2. Install the latest [Xcode developer tools](https://developer.apple.com/xcode/downloads/) from Apple

Expand Down
6 changes: 6 additions & 0 deletions lockbox-ios/Common/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,9 @@ extension AppDelegate {
}
}
}

extension AppDelegate {
func application(_ application: UIApplication, willContinueUserActivityWithType userActivityType: String) -> Bool {
return true
}
}
13 changes: 13 additions & 0 deletions lockbox-ios/Common/Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.7.0</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleURLName</key>
<string>org.mozilla.ios.Lockbox</string>
<key>CFBundleURLSchemes</key>
<array>
<string>Lockwise</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSApplicationQueriesSchemes</key>
Expand Down

0 comments on commit 5574ebf

Please sign in to comment.