questions regarding Microsoft's CodePush service for dynamic code updates to mobile apps. CodePush is part of the Microsoft App Center
Questions tagged [code-push]
236 questions
19
votes
4 answers
How do i show the current CodePush Version label in my React Native Android app?
Looking for something like:
VERSION={CodePush.VersionLabel}
Where CodePush.VersionLabel is something like "v6" that is displayed in code-push deployment ls
I'd like to show this at the bottom my login screen.

Doug
- 14,387
- 17
- 74
- 104
16
votes
4 answers
Issues with resources generated by react in Android Studio 3
I recently upgraded to Android Studio 3
gradle plugin: 3.0.0-beta2
gradle: 4.1
In our project we use: "react-native": "0.46.4" with the codepush plugin.
Building:
gradlew assembleStagingDebug
works just fine, but as soon as I try to build…

Mike T
- 1,194
- 14
- 25
13
votes
3 answers
How to deploy CodePush bundle for multiple versions?
I have read about the targetBinary flag and I have also read this from a member of the Microsoft team working on CodePush.
I have version 5.0.1 and 5.1.0.
The second version has native differences when comparing to 5.0.1
If a bug comes in for…

Dan
- 8,041
- 8
- 41
- 72
12
votes
2 answers
Codepush React Native Android staging- Task installReleaseStagingDebug not found in root project
I'm trying to configure my RN android project according to this section of the react-native-code-push docs
My build.gradle file has this configuration:
buildTypes {
debug {
}
releaseStaging {
buildConfigField…

Uri Klar
- 3,800
- 3
- 37
- 75
10
votes
2 answers
Dynamically compiling and running a react-native app inside another
I need to create a mobile app that contains other apps and can run them. It is basically like an "app center" which have a list of apps (that we publish on our server) and the user can open one of them which lead to the app being opened.
Think about…

Atef
- 1,294
- 1
- 14
- 27
8
votes
2 answers
Appcenter codepush is returning "The request is blocked"
I am running codepush with react native, I was able to upload v1.0 on appcenter, But now when I am running codepush again it is returing "The request is blocked"
My command
appcenter codepush release-react -a username/appname -d…

prt
- 205
- 3
- 11
8
votes
5 answers
Appcenter Codepush integration. Cannot add task 'bundleDebugJsAndAssets' as a task with that name already exists
Steps to Reproduce
yarn add react-native-codepush
Add following to android/app/build.gradle
apply from: "../../node_modules/react-native/react.gradle"
apply from: "../../node_modules/react-native-code-push/android/codepush.gradle"
Add following…

Faisal Manzer
- 2,089
- 3
- 14
- 34
8
votes
1 answer
Difference between Firebase Remote config and Microsoft Codepush
I am going to develop a react-native app.I want to make some good decisions of choosing the technology stack before I begin my work.
Features I am sure about:
1) For users authentication,datastore,offline syncing, Firebase does an excellent job and…

Abhinav
- 8,028
- 12
- 48
- 89
7
votes
0 answers
Bridge is not set. This is probably because you've explicitly synthesized the bridge in CodePush, even though it's inherited from RCTEventEmitter
The error I got is this:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error when sending event: CodePushDownloadProgress with body: {
receivedBytes = 1965637;
totalBytes = 1965637;
}. Bridge is not…

khushbu jilka
- 81
- 3
7
votes
1 answer
How does App Store and Play Store handle malicious code-push?
Native programming platforms like React Native or Cordova gives the ability to developers to write their applications in JavaScript and publish it for both iOS and Android.
Although code-push is another service that allows the developer to update…

Sajjad Iranmanesh
- 89
- 1
- 7
7
votes
1 answer
Does apple allow OTA updates of application
I came across code push framework which allows developers to push OTA updates of mobile application which is built in cordova and react-native without rolling updates on play/apple store for minor fixes.
I believe code push have their SDK for the…

N Sharma
- 33,489
- 95
- 256
- 444
7
votes
1 answer
How to update "Production" deployment using Code Push CLI?
I've been showing my team my progress with the Staging key.
When I do code-push deployment ls APP_NAME_HERE -k,
it'll give me a Staging and Production table with Production having the message No updates released.
I have been using code-push…

Naoto Ida
- 1,275
- 1
- 14
- 29
7
votes
1 answer
How to deploy arbitrary resources for React Native with CodePush
I'm using CodePush to deploy the js bundle and a couple of resources to my react-native iOS app. Instead of using the react-native bundler to collect all the static images from my project I have a build step that just copies a folder called "static"…

d-vine
- 5,317
- 3
- 27
- 25
7
votes
1 answer
CodePush: How to deploy to multiple build versions of the same deployment config?
I understand the deployment model for the ideal case, that all you users alway update their app to the latest app store version. But in reality they don't. How do I deal with different build versions of an react-native iOS app using CodePush?…

d-vine
- 5,317
- 3
- 27
- 25
6
votes
3 answers
Can developers build a self code push server using MS Code Push service?
These days I'm using MS Code Push service,it saves time to update my cordova applications. I'm wonder if it's possible to build our own code push server other than using github or MS account?

lwiu
- 179
- 1
- 9