README.md 815 B

客户端

基于Expo app 👋

Expo project created with create-expo-app.

开始

  1. 安装依赖

    pnpm install
    
  2. 运行

    pnpm android / ios ...
    

相关配置

  1. app 配置 /src/config.json ···json

{

"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为热根服务器)