CodePush service is hot update services which adapter react-native-code-push and cordova-plugin-code-push - 热更新
MIT License
Bot releases are visible (Hide)
Published by lisong about 5 years ago
adoptor api /v0.1/public/codepush/update_check
Published by lisong almost 6 years ago
Published by lisong about 6 years ago
diff-match-patch
算法计算差异
$ npm run upgrade
or
$ code-push-server-db upgrade
Published by lisong about 6 years ago
deployments_versions
新增字段min_version
,max_version
*
匹配所有版本1.2.3
匹配特定版本1.2.3
1.2
/1.2.*
匹配所有1.2补丁版本>=1.2.3<1.3.7
~1.2.3
匹配>=1.2.3<1.3.0
^1.2.3
匹配>=1.2.3<2.0.0
升级数据库
$ ./bin/db upgrade
or
$ mysql codepush < ./sql/codepush-v0.4.0-patch.sql
处理存量数据
$ git clone https://github.com/lisong/tools
$ cd tools
$ npm i
$ vim ./bin/fixMinMaxVersion //修改数据配置
$ node ./bin/fixMinMaxVersion //出现提示 success
Published by lisong about 6 years ago
$ ./bin/db upgrade
or
$ mysql codepush < ./sql/codepush-v0.3.0-patch.sql
Published by lisong over 6 years ago
Published by lisong over 7 years ago
Published by lisong almost 8 years ago
Published by lisong almost 8 years ago
Published by lisong almost 8 years ago
Published by lisong almost 8 years ago
Published by lisong almost 8 years ago
Published by lisong almost 8 years ago
Published by lisong almost 8 years ago
Published by lisong almost 8 years ago
Published by lisong about 8 years ago
Published by lisong about 8 years ago
Published by lisong about 8 years ago