Open duduccosta opened 7 months ago
Hello,
We currently use AppCenter codepush. We want to change to have our own codepush server.
Even configuring this library, what is the correct process for changing server settings on the client side? I'm using React Native.
Thanks.
Hi shm-open/code-push-server & shm-open/code-push-client can help you
<key>CodePushDeploymentKey</key>
<string>xxxxxx</string>
<key>CodePushServerURL</key>
<string>http://x.x.x.x:xxxx/</string>
android app/src/main/res/values/string.xml
<resources>
<string name="app_name">YOURAPPNAME</string>
<string moduleConfig="true" name="CodePushDeploymentKey">xxxxxxxx</string>
<string moduleConfig="true" name="CodePushServerUrl">your sever url</string>
</resources>
RN import codePush from "react-native-code-push"; export default codePush(App);
On your mac os client code-push login http://xx.xxx.xxx.xxx:0000/
Hello!
Thanks for reply! And how can I create a bundle js?
On appcenter environment, we have the appcenter cli. But without appcenter, how can I do it?
Thanks.
Hello!
Thanks for reply! And how can I create a bundle js?
On appcenter environment, we have the appcenter cli. But without appcenter, how can I do it?
Thanks.
The code-push-client will atuomaticly upload the RN project’s bundle To your sever,and the sever will push the new bundle to the apps. you only need install the client in your termial.Follow my suggest step.The Step3 will integrat the codepush on RN apps.with some inital code,it will pull the update from the custom server.
Hello,
We currently use AppCenter codepush. We want to change to have our own codepush server.
Even configuring this library, what is the correct process for changing server settings on the client side? I'm using React Native.
Thanks.