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
Copy file name to clipboardExpand all lines: x/examples/website-wrapper-app/README.md
+21-22Lines changed: 21 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,17 +55,6 @@ Then, run the following command to generate and place the assets in the appropri
55
55
npx capacitor-assets generate --ios
56
56
```
57
57
58
-
### Viewing your site in the example navigation iframe
59
-
60
-
Many sites don't handle their own navigation - if this applies to you, you can run a proxy to demonstrate what your site would look like in an example same-origin navigation iframe.
61
-
62
-
* You will need an [ngrok account](https://ngrok.com/), from which you can get your [`--navigatorToken`](https://dashboard.ngrok.com/get-started/your-authtoken)
63
-
64
-
```sh
65
-
npm run start -- --platform=ios --entryUrl="https://www.example.com" \
[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)
@@ -112,31 +101,40 @@ Then, run the following command to generate and place the assets in the appropri
112
101
npx capacitor-assets generate --android
113
102
```
114
103
115
-
### Viewing your site in the example navigation iframe
104
+
### Publishing your app in the Google Play Store
105
+
106
+
[Follow these instructions to learn how to publish your app to the Google Play Store](https://developer.android.com/studio/publish)
|`--platform`|**(Required)** Specifies the target platform for the build. |`"ios"` or `"android"`|
113
+
|`--entryUrl`|**(Required)** The primary url of your website. | Any valid url |
114
+
|`--appId`| The unique identifier for the app (e.g., iOS Bundle ID, Android Application ID). | A reverse domain name string (e.g., `com.company.appname`) |
115
+
|`--appName`| The user-visible name of the application. | Any valid application name string (e.g., "My Awesome App") |
116
+
|`--output`| The directory where the generated app project files will be saved. | A valid, absolute file path (e.g., `/users/me/my-generated-app`) |
117
+
|`--additionalDomains`| A list of other domains that should be accessible within the app. | Comma-separated domains |
118
+
|`--smartDialerConfig`| A JSON string containing the configuration for the [smart dialer feature](../../smart#yaml-config-for-the-smart-dialer). | Valid JSON string |
119
+
120
+
## Viewing your site in the example navigation iframe
116
121
117
122
Many sites don't handle their own navigation - if this applies to you, you can run a proxy to demonstrate what your site would look like in an example same-origin navigation iframe.
118
123
119
124
* You will need an [ngrok account](https://ngrok.com/), from which you can get your [`--navigatorToken`](https://dashboard.ngrok.com/get-started/your-authtoken)
120
125
121
126
```sh
122
-
npm run start -- --platform=android --entryUrl="https://www.example.com" \
127
+
npm run start:navigator -- --entryUrl="https://www.example.com" \
|`--platform`|**(Required)** Specifies the target platform for the build. |`"ios"` or `"android"`|
135
137
|`--entryUrl`|**(Required)** The primary url of your website. | Any valid url |
136
-
|`--appId`| The unique identifier for the app (e.g., iOS Bundle ID, Android Application ID). | A reverse domain name string (e.g., `com.company.appname`) |
137
-
|`--appName`| The user-visible name of the application. | Any valid application name string (e.g., "My Awesome App") |
138
-
|`--output`| The directory where the generated app project files will be saved. | A valid, absolute file path (e.g., `/users/me/my-generated-app`) |
139
-
|`--additionalDomains`| A list of other domains that should be accessible within the app. | Comma-separated domains |
140
138
|`--smartDialerConfig`| A JSON string containing the configuration for the [smart dialer feature](../../smart#yaml-config-for-the-smart-dialer). | Valid JSON string |
141
139
|`--navigatorToken`| Your ngrok authentication token for using the navigation proxy. | Your [ngrok auth token](https://dashboard.ngrok.com/get-started/your-authtoken)|
142
140
|`--navigatorPath`| The path to use for the navigation iframe when using the navigation proxy. | Any valid path |
@@ -152,4 +150,5 @@ When encountering an issue, the first thing you'll want to do is run the doctor
152
150
### Commonly occuring issues
153
151
154
152
> [!NOTE]
155
-
> TODO: compile a list of commonly occuring issues.
153
+
> TODO: compile a list of commonly occuring issues.
0 commit comments