htdcx / code-push-server-go

Server that supports react-native-code-push
MIT License
34 stars 8 forks source link

Cannot Update with react-native-code-push #8

Closed cuonggosu97 closed 2 weeks ago

cuonggosu97 commented 1 month ago

Hi!

I am currently unable to update the application via codepush following your instructions. I have built my application release on Simulator and run the server on local host.

I have configured my Info.split file as follows

CodePushDeploymentKey 98da623a-809c-11ef-9f79-ca3a63c0a2fa CodePushServerURL 127.0.0.1:8080

The CodePushDeploymentKey value I get when I execute the command: ./code-push-go app create_deployment -n -dn

When I launch the application, the log in the terminal server does not call any request.

What do I need to do to be able to run like using code-push via Appcenter. Thank!

matiasblancor commented 1 month ago

server must have ssl, otherwise react-native-code-push fails to check for new updates

htdcx commented 3 weeks ago

127.0.0.1:8080 is your phone ip,this is set server url