Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanglee2421/example
Example of Expo App
https://github.com/yanglee2421/example
expo react-native
Last synced: about 2 months ago
JSON representation
Example of Expo App
- Host: GitHub
- URL: https://github.com/yanglee2421/example
- Owner: yanglee2421
- Created: 2023-09-25T08:03:16.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-15T11:31:49.000Z (about 2 months ago)
- Last Synced: 2024-11-15T12:28:50.634Z (about 2 months ago)
- Topics: expo, react-native
- Language: TypeScript
- Homepage:
- Size: 1.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Expo App
## Set Building Environment
[Expo Documation](https://docs.expo.dev/guides/local-app-production/)
```powershell
# Install chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))# Install JDK
choco install -y microsoft-openjdk17# Install Android SDK
sdkmanager "platform-tools" "build-tools;34.0.0"# Expo build
expo prebuild
cd ./android# Prepare keystore
keytool -genkey -v -keystore my-upload-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000# For .aab
./gradlew app:bundleRelease
# For .apk
./gradlew app:assembleRelease
# Or build by Expo
expo build:android# Install Emulator
sdkmanager "emulator" "platforms;android-34" "system-images;android-34;google_apis;x86_64"
avdmanager create avd -n emulatorName -k "system-images;android-34;google_apis;x86_64" -d "pixel"
emulator -avd emulatorName -gpu host
```## Set Development Environment
1. Install WSL
```powershell
# Install Ubuntu
wsl --install
# Unistall Ubuntu
wsl --list
wsl --uninstall Ubuntu
```2. Ubuntu Bash
```bash
# Install pnpm
curl -fsSL https://get.pnpm.io/install.sh | sh -# Install nodejs
pnpm env use -g lts
```