|
|
hace 1 semana | |
|---|---|---|
| .vscode | hace 1 mes | |
| android | hace 3 semanas | |
| assets | hace 1 mes | |
| design | hace 1 mes | |
| docs | hace 1 mes | |
| ios | hace 3 semanas | |
| patches | hace 1 mes | |
| scripts | hace 2 meses | |
| src | hace 1 semana | |
| .gitignore | hace 1 mes | |
| .npmrc | hace 1 mes | |
| .watchmanconfig | hace 1 mes | |
| CLAUDE.md | hace 3 semanas | |
| README.md | hace 1 semana | |
| airpush.sh | hace 1 semana | |
| app.json | hace 1 semana | |
| babel.config.js | hace 1 mes | |
| eslint.config.js | hace 1 mes | |
| metro.config.js | hace 1 mes | |
| nativewind-env.d.ts | hace 1 mes | |
| package.json | hace 1 mes | |
| pnpm-lock.yaml | hace 1 mes | |
| pnpm-workspace.yaml | hace 1 mes | |
| tailwind.config.js | hace 1 mes | |
| theme.js | hace 1 mes | |
| tsconfig.json | hace 1 mes |
Expo project created with create-expo-app.
安装依赖
pnpm install
运行
pnpm android / ios ...
{
"api": {
"url": "https://api.com/api/v1/", // api 地址
"timeout": 15000
},
"site": "https://xxx.com/", // 官网地址 强更/隐私协议等
"jsVersion": "1"
}
2. 热更
/app.json
json "updates": {
"enabled": true,
"checkAutomatically": "NEVER",
"url": "https://updates-loan.xxx.com/api/manifest", // 热更地址(使用第三方)
...
```
airpush.sh (请先修改serverHost为热根服务器)