Przeglądaj źródła

doc(dropbox): Add documentation for the mobile app.

efficient_tiling
hristoterezov 6 lat temu
rodzic
commit
a214be0dfe
1 zmienionych plików z 28 dodań i 0 usunięć
  1. 28
    0
      doc/mobile-dropbox.md

+ 28
- 0
doc/mobile-dropbox.md Wyświetl plik

@@ -0,0 +1,28 @@
1
+# Setting up Dropbox integration
2
+1. Create a Dropbox app.
3
+2. Add the following to ```ios/app/src/Info.plist``` by replacing `<APP_KEY>`
4
+   with your own Dropbox app key (which can be found in the
5
+   [App Console](https://www.dropbox.com/developers/apps)):
6
+```
7
+<key>CFBundleURLTypes</key>
8
+<array>
9
+  <dict>
10
+    <key>CFBundleURLName</key>
11
+    <string></string>
12
+    <key>CFBundleURLSchemes</key>
13
+    <array>
14
+      <string>db-<APP_KEY></string>
15
+    </array>
16
+  </dict>
17
+</array>
18
+<key>LSApplicationQueriesSchemes</key>
19
+<array>
20
+  <string>dbapi-2</string>
21
+  <string>dbapi-8-emm</string>
22
+</array>
23
+```
24
+
25
+**NOTE:** Both Android and iOS builds of the apps will parse the Dropbox app key
26
+from ```ios/app/src/Info.plist```.
27
+
28
+**NOTE:** See [Dropbox developer guide](https://www.dropbox.com/developers/reference/developer-guide) for more information

Ładowanie…
Anuluj
Zapisz