Questions tagged [code-push]

questions regarding Microsoft's CodePush service for dynamic code updates to mobile apps. CodePush is part of the Microsoft App Center

236 questions
3
votes
1 answer

appcenter codepush updates Android but not iOS: not released because it is identical to the contents of the specified deployment's current release

As part of our pipeline, we run the following commands for Android and iOS whenever we merge to master: # For the android app appcenter codepush release-react -a the-android-app --target-binary-version $APP_VERSION -d $ENVIRONMENT # For the ios…
elethan
  • 16,408
  • 8
  • 64
  • 87
3
votes
0 answers

How to use environment variables when updating a react native app via codepush?

I have a react native app where I store the android/ios app version in config.js file in the root directory. Now I want to use the codepush to dynamically update some changes which involve using variables from the config.js file. Now here is the…
3
votes
0 answers

CodePush React Native Throws an Error on versionName

I have set up env variables for my Android and iOS apps to retrieve the information like versionName and versionCode (this is on Android, similar on iOS). It looks something like this for…
3
votes
1 answer

Code Push functionality not working for react native app

I am new to code push and react native, I followed the steps given in the official docs- https://learn.microsoft.com/en-us/appcenter/distribution/codepush/react-native#getting-started, but even after pushing code to appcenter, it is not updating the…
Thejas G R
  • 41
  • 1
  • 4
3
votes
1 answer

How to only show update dialog if build is mandatory

There's a way to only show the update dialog confirmation if the build is a mandatory one?
WitaloBenicio
  • 3,395
  • 5
  • 25
  • 32
3
votes
1 answer

Mandatory or optional updates for code push based on release

I'm using code push plugin to push updates on my app without passing through the play store. I think is a great utility to have this. Reviewing the documentation from the App Center, I see that you may make an update to be mandatory or optional, for…
3
votes
2 answers

code-push: How to find deployment keys for the app added from appcenter website ( add new app option )

I added a react-native android app using the Add new app option on appcenter website. Now i need to find the deployment keys for the same. I tried code-push deployment list YourAppName --displayKeys but it didnt return keys. Although when I add the…
nits
  • 115
  • 8
3
votes
3 answers

Xcode 10 Build Location -> Per-configuration Build Products Path

I'm just trying to implement react-native code push on my react-native application but I just can't find Build Location -> Per-configuration Build Products Path on Xcode 10. Here's the guide I'm following:…
Ricbermo
  • 815
  • 1
  • 6
  • 28
3
votes
1 answer

CodePushHash not found working with Code Push

So I'm trying to deploy my React Native app using the App Center and integrate Code Push. I installed the App Center SDK and workds properly but the problem comes when I add the Code Push plugin. It compiles the project nicely and does the sync too,…
user9310845
3
votes
1 answer

Code-push check for update

I'm trying to update my app with code-push. My code is as follows: export default class codePushTest extends Component { constructor(props) { super(props); this.state = { updateAvailable: false, …
Boky
  • 11,554
  • 28
  • 93
  • 163
3
votes
0 answers

react native code push rollback not working

I want to rollback the last code-push with this command: code-push rollback appName Staging But i got this error: Cannot perform rollback to a different app version. Please perform a new release with the desired replacement package. I can make…
Meysam Izadmehr
  • 3,103
  • 17
  • 25
3
votes
1 answer

React Native + CodePush: Do updates only appear the 2nd time the app has been loaded?

I have an app already in production on the app store. I just pushed an important bug fix through code push without going through the app store. However, from my knowledge the user has to first open the app, fetch the updated code, and only on the…
bigpotato
  • 26,262
  • 56
  • 178
  • 334
3
votes
2 answers

Code-Push with React-Native and App Restart

I created an app which uses react-native and code-push. When i start the app, code-push looks for changes on the server and if there are changes it responds with: 2017-03-03 11:33:10.919 [info][tid:com.facebook.react.JavaScript] [CodePush]…
ManfredP
  • 1,037
  • 1
  • 12
  • 27
3
votes
1 answer

Understanding code push for react-native

I'm starting building a react native application for both iOS and Android. I've read through the documentation of react native application, but there is one thing now I do not understand: Is react-native app fully native application? They say in…
Ville Miekk-oja
  • 18,749
  • 32
  • 70
  • 106
3
votes
1 answer

CodePush for Cordova on iOS codePush.sync() doesn't seem to work

I've followed a few tutorials regarding implementing CodePush so that we can use it to deploy JS updates to a mobile app built for iOS using Cordova. Namely this one, https://github.com/Microsoft/cordova-plugin-code-push I am currently able to…
user7274152
1 2
3
15 16