|
28 | 28 | + [Library installation](#installation) |
29 | 29 | + [Register for Branch key](#register-your-app) |
30 | 30 | + [Add your Branch key](#add-your-branch-key-to-your-project) |
31 | | - + [Register a URI scheme](#register-a-uri-scheme-direct-deep-linking) |
| 31 | + + [Register a URI scheme](#register-a-uri-scheme) |
32 | 32 | + [Support Universal Links](#support-universal-linking) |
33 | 33 |
|
34 | 34 | 3. Branch general methods |
@@ -155,16 +155,21 @@ Note: If you used Fabric to install Branch as a kit, your Branch keys will be in |
155 | 155 |
|
156 | 156 |  |
157 | 157 |
|
158 | | -### Register a URI Scheme Direct Deep Linking (Optional but Recommended) |
| 158 | +### Register a URI Scheme |
159 | 159 |
|
160 | | -You can register your app to respond to direct deep links (yourapp:// in a mobile browser) by adding a URI scheme in the YourProject-Info.plist file. Make sure to change **yourapp** to a unique string that represents your app name. |
| 160 | +Register your app to respond to direct deep links (yourapp:// in a mobile browser) by adding a URI scheme in the YourProject-Info.plist file. Make sure to change **yourapp** to a unique string that represents your app name. |
161 | 161 |
|
162 | 162 | 1. In Xcode, click on YourProject-Info.plist on the left. |
163 | 163 | 1. Find URL Types and click the right arrow. (If it doesn't exist, right click anywhere and choose Add Row. Scroll down and choose URL Types). |
164 | | -1. Add "yourapp," where yourapp is a unique string for your app, as an item in URL Schemes as below: |
| 164 | +1. Add "yourapp," where yourapp is a unique string for your app, as an item in URL Schemes as below. |
| 165 | + |
| 166 | + _Caution: Your apps URI scheme must be the first scheme defined (item 0) in the list._ |
| 167 | + |
| 168 | + If you have multiple schemes defined, such as a Facebook login URI, make your app's URI scheme the first one in the list so the Branch SDK knows the URI specific to your app. |
165 | 169 |
|
166 | 170 |  |
167 | 171 |
|
| 172 | + |
168 | 173 | Alternatively, you can add the URI scheme in your project's Info page. |
169 | 174 |
|
170 | 175 | 1. In Xcode, click your project in the Navigator (on the left side). |
|
0 commit comments