Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

热更新集成 #26

Open
wuyunqiang opened this issue Nov 28, 2017 · 0 comments
Open

热更新集成 #26

wuyunqiang opened this issue Nov 28, 2017 · 0 comments
Labels

Comments

@wuyunqiang
Copy link
Owner

wuyunqiang commented Nov 28, 2017

1:codepush热更新
2:codepush2之配置自己的服务器
3:codepush3之Android原生引用集成codepush
4:codepush4之linux下配置自己服务器
tip:
1:不适用于文件目录结构更改(添加文件可以)

2:引入第三方后 如果修改了原生代码可能会失败。

3:
codepushserverbug.png
这是数据库安装的问题。卸了再重新安装。

4:serverios.png
客户端地址错误。
iOS可能是info.plist的字段写错了,注意大小写.

5:android端可以收到更新提示框,但是点击下载更新就会报错如图。
codepushandroidrefused.png
原因:这个原因是因为config里面downloadUrl配置有问题,这里即便是自己本机作为服务器也不要127.0.0.1 换成电脑的ip即可。
ADF506B1FFFA0ECD3BFD1EAEF34B39EE.png

6:另外注意收集和电脑要在同一个网段先才能访问到你电脑。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant