You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Before proceeding, confirm you've searched for similar feature requests. If a similar request exists, please add your thoughts there instead of opening a new one."
10
+
options:
11
+
- label: "I have searched the [existing issues](https://github.com/Jigsaw-Code/outline-app-maker/issues) and found no similar feature requests."
12
+
required: true
13
+
14
+
- type: textarea
15
+
id: feature-description
16
+
attributes:
17
+
label: "Feature Description"
18
+
description: "Please describe the feature in detail. What use case does it address, and why is the current system insufficient?"
Copy file name to clipboardExpand all lines: README.md
+34-41Lines changed: 34 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,31 +8,31 @@ To verify that your system has the necessary dependencies to generate your web w
8
8
./doctor
9
9
```
10
10
11
-
## Building the app project for **iOS**
11
+
## Building the app project for **Android**
12
12
13
-
> [!WARNING]
14
-
> You can only build iOS apps on MacOS.
15
-
> Currently only works with build targets of iOS 17.2 (and below?)
13
+
> [!NOTE]
14
+
> If you want to build Android on Windows, please use [Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/install)
16
15
17
16
* You will need the url you want to load initially in your app.
18
-
* You will need [go](https://golang.org/) to build the SDK library.
19
17
* You will need [Node.js](https://nodejs.org/en/) for the project setup and web server.
20
-
* You will need [XCode](https://developer.apple.com/xcode/).
21
-
* You will need [cocoapods](https://cocoapods.org/).
18
+
* You will need [go](https://golang.org/) to build the SDK library.
19
+
* You will need [JDK 17](https://stackoverflow.com/a/70649641) to build the app.
20
+
* You will need [Android Studio](https://developer.android.com/studio/).
21
+
* Make sure to [install the NDK](https://developer.android.com/studio/projects/install-ndk#default-version).
22
+
* Make sure to [set the correct JDK](https://stackoverflow.com/a/30631386).
22
23
23
-
[Please refer to CapacitorJS's environment setup guide](https://capacitorjs.com/docs/getting-started/environment-setup#ios-requirements) and run `./doctor` to check to see if you have all the required dependencies.
24
+
[Please refer to CapacitorJS's environment setup guide](https://capacitorjs.com/docs/getting-started/environment-setup#android-requirements) and run `./doctor` to check to see if you have all the required dependencies.
24
25
25
26
```sh
26
27
npm run reset
27
-
npm run build:project -- --platform=ios --entryUrl="https://www.example.com"
28
-
npm run open:ios
28
+
npm run build -- --platform=android --entryUrl="https://www.example.com"
29
29
```
30
30
31
-
Click the "play" button in XCode to start your iOS app!
31
+
Wait for Gradle to load your project. Click the "play" button in Android Studio to start your Android app!
32
32
33
33
[See below for the list of available configuration options.](#available-configuration-options)
34
34
35
-
### Adding icon and splash screen assets to your generated iOS project
35
+
### Adding icon and splash screen assets to your generated Android project
36
36
37
37
> [!NOTE]
38
38
> TODO: automate this process
@@ -43,42 +43,41 @@ You'll need to add the following images to the `assets` folder in your generated
43
43
- A 2732x2732 png titled `splash.png` containing your splash screen.
44
44
- Another 2732x2732 png titled `splash-dark.png` containing your splash screen in dark mode.
45
45
46
-
Then, run the following command to generate and place the assets in the appropriate places in your iOS project:
46
+
Then, run the following command to generate and place the assets in the appropriate places in your Android project:
47
47
48
48
```sh
49
-
npx capacitor-assets generate --ios
49
+
npx capacitor-assets generate --android
50
50
```
51
51
52
-
### Publishing your app in the App Store
52
+
### Publishing your app in the Google Play Store
53
53
54
-
[Follow these instructions on how to publish your app for beta testing and the App Store.](https://developer.apple.com/documentation/xcode/distributing-your-app-for-beta-testing-and-releases)
54
+
[Follow these instructions to learn how to publish your app to the Google Play Store](https://developer.android.com/studio/publish)
55
55
56
-
## Building the app project for **Android**
57
56
58
-
> [!WARNING]
59
-
> If you want to build Android on Windows, please use [Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/install)
57
+
## Building the app project for **iOS**
58
+
59
+
> [!NOTE]
60
+
> You can only build iOS apps on MacOS.
61
+
> Currently only works with build targets of iOS 17.2 (and below?)
60
62
61
63
* You will need the url you want to load initially in your app.
62
-
* You will need [Node.js](https://nodejs.org/en/) for the project setup and web server.
63
64
* You will need [go](https://golang.org/) to build the SDK library.
64
-
* You will need [JDK 17](https://stackoverflow.com/a/70649641) to build the app.
65
-
* You will need [Android Studio](https://developer.android.com/studio/).
66
-
* Make sure to [install the NDK](https://developer.android.com/studio/projects/install-ndk#default-version).
67
-
* Make sure to [set the correct JDK](https://stackoverflow.com/a/30631386).
65
+
* You will need [Node.js](https://nodejs.org/en/) for the project setup and web server.
66
+
* You will need [XCode](https://developer.apple.com/xcode/).
67
+
* You will need [cocoapods](https://cocoapods.org/).
68
68
69
-
[Please refer to CapacitorJS's environment setup guide](https://capacitorjs.com/docs/getting-started/environment-setup#android-requirements) and run `./doctor` to check to see if you have all the required dependencies.
69
+
[Please refer to CapacitorJS's environment setup guide](https://capacitorjs.com/docs/getting-started/environment-setup#ios-requirements) and run `./doctor` to check to see if you have all the required dependencies.
70
70
71
71
```sh
72
72
npm run reset
73
-
npm run build:project -- --platform=android --entryUrl="https://www.example.com"
74
-
npm run open:android
73
+
npm run build -- --platform=ios --entryUrl="https://www.example.com"
75
74
```
76
75
77
-
Wait for Gradle to load your project. Click the "play" button in Android Studio to start your Android app!
76
+
Click the "play" button in XCode to start your iOS app!
78
77
79
78
[See below for the list of available configuration options.](#available-configuration-options)
80
79
81
-
### Adding icon and splash screen assets to your generated Android project
80
+
### Adding icon and splash screen assets to your generated iOS project
82
81
83
82
> [!NOTE]
84
83
> TODO: automate this process
@@ -89,17 +88,17 @@ You'll need to add the following images to the `assets` folder in your generated
89
88
- A 2732x2732 png titled `splash.png` containing your splash screen.
90
89
- Another 2732x2732 png titled `splash-dark.png` containing your splash screen in dark mode.
91
90
92
-
Then, run the following command to generate and place the assets in the appropriate places in your Android project:
91
+
Then, run the following command to generate and place the assets in the appropriate places in your iOS project:
93
92
94
93
```sh
95
-
npx capacitor-assets generate --android
94
+
npx capacitor-assets generate --ios
96
95
```
97
96
98
-
### Publishing your app in the Google Play Store
97
+
### Publishing your app in the App Store
99
98
100
-
[Follow these instructions to learn how to publish your app to the Google Play Store](https://developer.android.com/studio/publish)
99
+
[Follow these instructions on how to publish your app for beta testing and the App Store.](https://developer.apple.com/documentation/xcode/distributing-your-app-for-beta-testing-and-releases)
101
100
102
-
## Available Configuration Options
101
+
## Available Configuration Options for `npm run build`
0 commit comments