Comments (5)
您好,如楼上所说,assets部分的文件,会挨个文件进行比对,找出新增和修改过的文件,其中修改过的判断是通过文件的md5进行的。。。增量包中会包含新增和修改过的文件。
from blog.
我们没有用codepush,是自己实现的升级系统。
app拿到增量包之后,直接将增量包中的asserts文件夹和文件覆盖到本地版本的asserts文件夹上,就得到了最新版本的asserts文件夹。
from blog.
增量只是打包js bundle ,那assets部分呢?
from blog.
md5算法对比
from blog.
@cnsnake11 @luoyjx 多谢,还有个问题,就是,
我们的打包出来的bundle文件夹里面是src目录里面有images这些文件。 codepush 推送的bundle.js 里面就会有这些文件的base64编码在里面么? 还是怎么样? 那assets打包部分,我们拿到了对比,知道哪些文件增加,修改,那应该如何将这些信息集成到bundle里面呢?
from blog.
Related Issues (20)
- 关于缓存问题 HOT 2
- 请问setModuleName(String moduleName)此方法在何时调用? HOT 1
- ReactNative安卓首屏白屏优化问题 HOT 6
- WebView 记住密码提示 HOT 3
- RN的界面编译至Native后是原生的一个ViewController or Activity 么?
- [评论区]一个类似微信群聊程序的技术方案设计过程 HOT 3
- [评论区]React的render优化通用解决方案
- [评论区]前端和开闭原则 HOT 1
- Navigator 属性initialRouteStack的使用 HOT 2
- ReactNative安卓首屏白屏优化
- [评论区]弱特征广告方案
- 代码不全,不发准确指导
- 白屏优化AbsRnInfo这个文件在哪里啊 HOT 1
- android白屏优化的问题 HOT 5
- 使用优化导致Modal无法弹出 HOT 1
- android 多RN模块 缓存问题
- 运行react-native run-Android 安装在手机上的时候,打开报错
- Android 首页白屏
- text padding margin 问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog.