Skip to content

Commit b42fc36

Browse files
Capacitor demo tag along improvements
1 parent 981d552 commit b42fc36

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

demos/example-capacitor/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ To see it in action:
1313

1414
To run the iOS version of the app run:
1515

16-
1. `pnpm sync`
17-
2. `pnpm ios`
16+
1. `pnpm build`
17+
2. `pnpm sync`
18+
3. `pnpm ios`
1819

1920
## Android
2021

2122
To run the Android version of the app run:
2223

23-
1. `pnpm sync`
24-
2. `pnpm android` (to see console run `chrome://inspect/#devices` in browser)
24+
1. `pnpm build`
25+
2. `pnpm sync`
26+
3. `pnpm android` (to see console run `chrome://inspect/#devices` in browser)

demos/example-capacitor/src/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<html lang="en">
22
<head>
33
<meta name="theme-color" content="#c44eff" />
4+
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
45
<link rel="apple-touch-icon" href="/icons/icon.png" />
56
<link rel="stylesheet" href="./app/globals.css" />
67
<script type="module" src="./app/index.tsx"></script>

0 commit comments

Comments
 (0)