Fetch Github API: https://api.github.com/users/Joaosilgo
create-react-native-app JoaoGomes
- cd JoaoGomes
- npm run android
- npm run ios # you need to use macOS to build the iOS project - use the Expo app if you need to do iOS development without a Mac
- npm run web
"dependencies": {
"@react-navigation/bottom-tabs": "^5.9.2",
"@react-navigation/native": "^5.7.6",
"@react-navigation/stack": "^5.9.3",
"expo": "~39.0.2",
"expo-splash-screen": "~0.6.2",
"expo-status-bar": "~1.0.2",
"expo-updates": "~0.3.2",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "~0.63.3",
"react-native-gesture-handler": "~1.7.0",
"react-native-reanimated": "~1.13.0",
"react-native-screens": "~2.10.1",
"react-native-unimodules": "~0.11.0",
"react-native-web": "~0.13.12",
"@react-native-community/masked-view": "0.1.10"
}
echo "# React-Native-App" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Joaosilgo/React-Native-App.git
git push -u origin main
npm install -g expo-cli
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
{
"expo": {
"name": "Your App Name",
"icon": "./path/to/your/app-icon.png",
"version": "1.0.0",
"slug": "your-app-slug",
"ios": {
"bundleIdentifier": "com.yourcompany.yourappname",
"buildNumber": "1.0.0"
},
"android": {
"package": "com.yourcompany.yourappname",
"versionCode": 1
}
}
}
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy unrestricted
expo build:android -t apk
Probably is network error, try disable Antivirus and Microsoft Firewall
read ECONNRESET
Error: read ECONNRESET
=================
Builds Statuses
=================
### 0 | Android | https://expo.io/dashboard/joaosgomes/builds/b07c1c8f-e057-42ef-a3d6-1a0211b30655 ###
Build finished.
Looks like this build could have been faster.
Read more about priority builds at https://expo.io/settings/billing.
APK: https://exp-shell-app-assets.s3.us-west-1.amazonaws.com/android/%40joaosgomes/JoaoGomes-9c8858024b30488c9b86bd9e2bc53b07-signed.apk
name: Build Android
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: yarn
- name: Make Gradlew Executable
run: cd android && chmod +x ./gradlew
- name: Build Android Release
run: cd android && ./gradlew assembleRelease
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: release
path: android/app/build/outputs/apk/release/app-release.apk
https://expo.io/artifacts/4cfac6e6-f355-46ee-9bdd-f7a7563341e7
https://expo.io/artifacts/2305761b-336c-42dd-869f-3a40fd2b687b
https://expo.io/artifacts/4a165b09-f94a-43ad-a791-d8e9d6f34300
https://expo.io/artifacts/cba74e4c-e9a3-4968-b2be-33b8f60553ef
https://expo.io/artifacts/2f456a91-c953-4ce8-a889-06003201ad2a
https://expo.io/artifacts/9d0b25bc-bb3d-44ea-ba88-ace6ef32a81f