Hello! :wave:
I recently bumped appcenter-cli from 1.1.20 on a project to 2.7.3 version and now our appcenter codepush release-react command is failing.
If I'm not mistaken all the options we're passing are correct:
appcenter codepush release-react -a ulabox-mobile/ulabox-android -d Production -o bundle --disable-duplicate-release-error -t $(node -p "require('./package.json').version")
I tried using the --debug flag but no other info was provided:
info Writing bundle output to:, bundle/CodePush/index.android.bundle
info Writing sourcemap output to:, bundle/CodePush/index.android.bundle.map
info Done writing bundle output
info Done writing sourcemap output
info Copying 67 asset files
info Done copying assets
Error: Failed to release a CodePush update.
Thanks!
Hey @carloscuesta,
This problem is not reproducible on my side in the CodePush-Example app. Therefore, can you provide additional information for us:
Which version of react-native and react-native-code-push are you using?
Are you using Hermes in your application?
Sure!
react-native-code-push: 6.4.0react-native: 0.60@carloscuesta, Excuse me, maybe there was some misunderstanding, you probably wrote the version of appcenter-cli: v2.7.3. Because there is no react-native-code-push with this version. Could you clarify the version of code-push-react-native used in your project?
Sure, I edited the comment, sorry for the confusion 馃槄
@carloscuesta, May I ask you to provide a project.ext.ract value in android/app/build.gradle file if possible?
f.e. my build.gradle:

It's not defined the project.ext.react on the android/app/build.gradle
@carloscuesta So, I managed to reproduce the problem, we added it to our backlog, in fact, there is a workaround for you:
Add this code in your android/app/build.gradle
project.ext.react = [
enableHermes: false
]
I will let you know when this is fixed in the new version, thanks.
I have been able to release a CodePush version with the workaround you suggested! 馃憦馃徏
I will look forward to the release of the fix
Thanks for your time 鉂わ笍