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]
201 questions
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…
![](../../users/profiles/734659.webp)
Mike T
- 1,154
- 13
- 24
16
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.
![](../../users/profiles/142098.webp)
Doug
- 10,752
- 11
- 57
- 97
11
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…
![](../../users/profiles/1936629.webp)
Uri Klar
- 2,436
- 3
- 29
- 55
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…
![](../../users/profiles/6450941.webp)
Atef
- 1,061
- 9
- 22
9
votes
2 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…
![](../../users/profiles/2026768.webp)
Dan
- 4,211
- 4
- 29
- 55
7
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…
![](../../users/profiles/2401175.webp)
Abhinav
- 7,550
- 10
- 40
- 79
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…
![](../../users/profiles/6859521.webp)
Sajjad Iranmanesh
- 89
- 1
- 6
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?…
![](../../users/profiles/255765.webp)
d-vine
- 4,397
- 2
- 22
- 25
6
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…
![](../../users/profiles/4776002.webp)
Naoto Ida
- 1,195
- 11
- 27
6
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"…
![](../../users/profiles/255765.webp)
d-vine
- 4,397
- 2
- 22
- 25
5
votes
0 answers
React Native app crashes on the first launch only
When loading my app for the first time, it crashes with the following error:
facebook::react::Recoverable: Could not open file/data/user/0/****/files/ReactNativeDevBundle.js: No such file or directory
Upon reading similar issues, it points to a…
![](../../users/profiles/2902368.webp)
AdamT
- 71
- 7
5
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…
![](../../users/profiles/2455259.webp)
N Sharma
- 28,073
- 81
- 228
- 405
5
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?
![](../../users/profiles/5091735.webp)
lwiu
- 149
- 8
4
votes
2 answers
iOS react native app does not update from CodePush server
I've followed the instructions to set up CodePush properly. First, I push to AppCenter:
$ appcenter codepush release-react -a myUser/appName -d Production
Detecting ios app version:
Using the target binary version value "1.0" from…
![](../../users/profiles/179736.webp)
TIMEX
- 217,272
- 324
- 727
- 1,038
4
votes
2 answers
Is there a difference between the staging and production env in code push?
I accidentally push the binary with staging key. Is there any real difference between the two stages(in terms of cli / library setting) aside from the obvious naming differences ?
Will I have problem trying to push updates using the staging env?
![](../../users/profiles/3791980.webp)
user3791980
- 345
- 5
- 16