|
1 | 1 | # Preparing your App for deployment |
2 | 2 |
|
3 | | -Once you have built your UI with Ensemble and used it to build your app and are ready to take it to production, follow these instructions to deploy it to any iOS or Android devices, or to submit it to the Apple AppStore or Google Play Store. |
| 3 | +Once you have built your UI with Ensemble and used it to build your app and are ready to take it to production, follow these instructions to deploy it to any iOS or Android devices, or to submit it to the Apple App Store or Google Play Store. |
4 | 4 |
|
5 | 5 | ### Prerequisites |
6 | | -* Your Ensemble App ID. From [Ensemble Studio](https://studio.ensembleui.com), go to your App's Settings screen to retrieve the App ID. |
| 6 | + |
| 7 | +- Your Ensemble App ID. From [Ensemble Studio](https://studio.ensembleui.com), go to your App's Settings screen to retrieve the App ID. |
7 | 8 |
|
8 | 9 | ### Download Ensemble Starter |
9 | | -Ensemble Starter is our packaging solution, enabling you to connect to your Ensemble UI and package it. |
10 | | -* Clone the Starter App `git clone https://github.com/EnsembleUI/starter my_first_app` into the folder *my_first_app*. You may change the name, but don't use camelCase (e.g. myFirstApp) or dash (-) as the separators. |
11 | | -* Follow the README in this repo. |
| 10 | + |
| 11 | +Ensemble Starter is our packaging solution, enabling you to connect to your Ensemble UI and package it. |
| 12 | + |
| 13 | +- Clone the Starter App `git clone https://github.com/EnsembleUI/starter my_first_app` into the folder _my_first_app_. You may change the name, but don't use camelCase (e.g. myFirstApp) or dash (-) as the separators. |
| 14 | +- Follow the README in this repo. |
12 | 15 |
|
13 | 16 | ### Requesting permissions from your end-users |
| 17 | + |
14 | 18 | If your app requires capabilities like location, camera, ..., you will need to enter a reason per capability. These reasons will be prompted to the end users, who can decide whether to grant or deny your requests. |
15 | | -* For iOS, edit `<my_first_app>/ios/Runner/Info.plist` and add the below permissions as the direct children of the `<dict>` tag. |
16 | | -* For Android, edit `<my_first_app>/android/app/src/main/AndroidManifest.xml` and add the below permissions as the direct children of the `<manifest>` tag. |
| 19 | + |
| 20 | +- For iOS, edit `<my_first_app>/ios/Runner/Info.plist` and add the below permissions as the direct children of the `<dict>` tag. |
| 21 | +- For Android, edit `<my_first_app>/android/app/src/main/AndroidManifest.xml` and add the below permissions as the direct children of the `<manifest>` tag. |
17 | 22 |
|
18 | 23 | Below are the snippet per capability to insert for iOS and Android respectively. |
19 | 24 |
|
20 | 25 | **Location** |
| 26 | + |
21 | 27 | ```xml |
22 | 28 | <key>NSLocationWhenInUseUsageDescription</key> |
23 | 29 | <string>e.g. This app needs access to your location to ....</string> |
24 | 30 | ``` |
25 | 31 |
|
26 | 32 | **Camera** |
| 33 | + |
27 | 34 | ```xml |
28 | 35 | <key>NSCameraUsageDescription</key> |
29 | 36 | <string>e.g. your reason for requesting camera access</string> |
30 | 37 |
|
31 | 38 | <key>NSMicrophoneUsageDescription</key> |
32 | 39 | <string>e.g. your reason for requesting microphone access</string> |
33 | 40 | ``` |
34 | | - |
35 | | - |
|
0 commit comments