https://github.com/srect/reactnativeblogapp
React Native Blog App
https://github.com/srect/reactnativeblogapp
Last synced: 11 months ago
JSON representation
React Native Blog App
- Host: GitHub
- URL: https://github.com/srect/reactnativeblogapp
- Owner: sRect
- Created: 2023-02-10T08:26:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-26T02:37:20.000Z (over 2 years ago)
- Last Synced: 2025-04-08T03:13:25.170Z (about 1 year ago)
- Language: JavaScript
- Size: 9.53 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## React Native Blog App
### 1. 本地开发
1. 安卓
> 如果已经连接真机,会在真机中安装测试 app,没连接真机会打开模拟器调试开发
```
npm run android
```
2. ios
```
npm run ios
```
### 2. 安卓 apk 打包
1. 更新 version 版本号
```
npm version xx.xx.xx
```
2. 执行打包
> 生成的 apk 文件在 `android/app/build/outputs/apk/release/app-release.apk`
```
npm run build:android
```
### 3. 安卓 google 应用市场 aab 打包
> 生成的 apk 文件在 `android/app/build/outputs/bundle/release/app-release.aab`
```
npm run build:android:aab
```