Comments (3)
同一赋值语句肯定后者覆盖前者。所以如果你这样写, [RCTHotUpdate bundleURL]就等于没写,等于没有引入热更新,只使用本地离线bundle
from react-native-pushy.
那意思是这样写才是正确的是不
#if DEBUG
// 原来的jsCodeLocation
jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"];
#else
jsCodeLocation=[RCTHotUpdate bundleURL];
#endif
// jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
from react-native-pushy.
对的
from react-native-pushy.
Related Issues (20)
- Base.h:13:10 'butter/function.h' file not found HOT 1
- 仅上传 Android,未上传 IOS,但 IOS 仍然收到更新提醒 HOT 1
- 后台崩了 HOT 5
- 登录界面不跳转 HOT 1
- 热更新完成之后,怎么才能实现不需要重启就能生效? HOT 1
- [✨ Feature Request] 希望支持类似 topics 的功能,以便检查更新的时候根据 topic 命中匹配条件中的最新版本 HOT 2
- 出现了更新提示,但是点击确定并没有成功更新 HOT 6
- 如何从react-native-codepush迁移到react-native-pushy,技术支持是否包含这一块 HOT 3
- Invalid `react-native-update.podspec` file: undefined method `install_modules_dependencies' for Pod:Module. HOT 3
- 使用[email protected]开发react-native,怎么集成react-native-pushy HOT 2
- 请问现在支持 expo吗? HOT 1
- android版本的demo点击强制更新,提示undefined HOT 5
- pushy bundle --platform android 失败 报错 **_Unknown or unexpected option: --assets-dest_** HOT 1
- pushy bundle --platform android 打热更包时报错:`TypeError: Assignment to constant variable.` (react-native-update-cli\lib\bundle.js bug) HOT 5
- [email protected]无法安装,切换为1.20.0版本可以 HOT 5
- 咨询:10.0 版本 new Pushy 是否不再支持元信息配置 {"silent": true} HOT 1
- 0.73 React Native ios 下载成功后,会回滚 HOT 7
- cn.reactnative.modules.update 不存在 HOT 7
- react-native-update模块无法加载,请对照安装文档检查配置 HOT 8
- ios构建node_modules/react-native-update/ios/pushy_build_time.txt: No such file or directory HOT 1
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 react-native-pushy.