Open 2ducanhpham opened 7 years ago
Did you try with --targetBinaryVersion <version>
?
Same here. this doesnt seem to be compatible with code push. Code push cant pick up the env variables
I haven not tried with iOS but can confirm it does work with Android. I imagine the process is the same for iOS.
You will need to create a build and deploy it. After that, you can target that version with --targetBinaryVersion <version>
and push your code updates.
code-push release-react <appName> android --targetBinaryVersion "<version>";'
sounds like I can change my current npm script from
"codepush-staging": "appcenter codepush release-react -a MyOrg/my-app -d Staging
to
"codepush-staging": "appcenter codepush release-react -a MyOrg/my-app -d Staging --targetBinaryVersion Staging
Does that seem right @CoreyAR ?
@acomito i just running into this issue and resolved by following command, in case someone having this issue, here the solution:
Let's says the app version in the store is 1.0.1
then you run following command to push the update code to it
appcenter codepush release-react -a <owner>/<app-name> -d <environment> --target-binary-version "1.0.1" -m --description "some description"
@acomito i just running into this issue and resolved by following command, in case someone having this issue, here the solution: Let's says the app version in the store is
1.0.1
then you run following command to push the update code to itappcenter codepush release-react -a <owner>/<app-name> -d <environment> --target-binary-version "1.0.1" -m --description "some description"
This worked perfectly for me. Thanks!!
Hey guys, could anyone give me some hints on why my code push stopped working when I try to configure react config? If I remove the line apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle", code push return to work. I just have create a new project react-native.
Hey guys, could anyone give me some hints on why my code push stopped working when I try to configure react config? If I remove the line apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle", code push return to work. I just have create a new project react-native.
Does it alert updates but wont install? happened the same here. See this issue. Unfortunately only the first update worked here, subsequent updates are stuck in boot loop.
I have error: