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
1
vote
2 answers

Codepush not working for all android users

Hey guys I'm using Microsoft's CodePush with an Ionic app ( https://ionicframework.com/docs/native/code-push/ ). It works perfectly for our iOS users and most of our Android users, however we are getting a large amount of reports from Android users…
DanielRead
  • 2,288
  • 1
  • 23
  • 34
1
vote
1 answer

Ionic code-push: changes disappear after app restart

I am using plugin https://github.com/Microsoft/cordova-plugin-code-push#codepushnotifyapplicationready After new version of app is pushed I can see that app was updated on my device after I launched it. In console I can see that everything is fine,…
krzyhub
  • 6,285
  • 11
  • 42
  • 68
1
vote
1 answer

React Native: ignore files in a CodePush update

My use case is that I have an env file and its contents are replaced each time I build the app through Appcenter with environment variables. I fear that when I update the file locally (for example add another variable), the file would be overwritten…
1
vote
1 answer

Cannot push update to Code Push when using dynamic version name on different build types

I'm using React Native to develop a mobile app for Android and iOS. I have 3 different build types/configuration (Android/iOS). On Android, I have debug, releaseStaging, and release (for production). And on iOS I have debug, release, production. To…
1
vote
2 answers

Code-Push with React-Native bundle is always null

We are attempting to implement CodePush from Microsoft App Center. We have managed to get to the point where the application downloads the package, and unpacks it. However, it always ends with the response Update is invalid - A JS bundle file…
1
vote
1 answer

Cordova CodePush Migration - new plugin?

We're using CodePush with Cordova. This service is moving to Microsoft's App Center. The main code push site notes that there will be a new "App Center CodePush SDK Launch" in late February 2018. I haven't seen this launch for Cordova. It looks…
BRass
  • 3,698
  • 2
  • 28
  • 46
1
vote
2 answers

Code Push and updates to NPM modules

I have a Cordova app that leverages Code Push to handle small/medium changes without requiring users to go back to the app store. I know that new native functionality cannot be pushed via code push, as that typically requires new native permissions…
BRass
  • 3,698
  • 2
  • 28
  • 46
1
vote
1 answer

React Native CodePush different key for the 'Production' deployment

My app is linked with the 'Staging' deployment key 'sss'. It's defined at /android/app/src/main/res/values/strings.xml, under reactNativeCodePush_androidDeploymentKey. Now when I actually release an APK, I'd like to use the 'Production' deployment…
Poni
  • 11,061
  • 25
  • 80
  • 121
1
vote
2 answers

Ionic Cordova Code Push Updates are always "pending"

Description I put the code in place to do over the air updates, and it appears that the code does push, but every time I run: code-push deployment ls XXXXX I get: Active: 0% (1 of XXX) Total: 0 (XXX pending) The "pending" never switches to success…
Josh Barker
  • 1,203
  • 1
  • 11
  • 28
1
vote
1 answer

Microsoft CodePush App Center migration: future deployments

I'm using Microsoft's CodePush service for my Cordova app. As noted here this service will be migrated over the next 10-12 months to App Center. It sounds like there will be a new CodePush SDK (aka cordova plugin) in February 2018. If we do not…
BRass
  • 3,698
  • 2
  • 28
  • 46
1
vote
1 answer

React Native CodePush Android Release Build not loading JS files

I've done my best to follow the instructions here and here. The Android debug build (react-native run-android) runs on Android emulator and on my device as expected i.e., it reloads the JS files after each new installation or update. However, when I…
Kes115
  • 2,070
  • 2
  • 21
  • 37
1
vote
1 answer

Code push not updating app on IOS device

My code-push is working on simulator but when i ran same app on device it shows me update dialog but when i press install nothing happens. class MyApp extends React.Component { constructor () { super(); this.state = { …
Awn Ali
  • 1,361
  • 1
  • 17
  • 31
1
vote
1 answer

Codepush for splash screen?

Can code-push changes files like splash screen of the app? For example images in the folder Images.xcassets can be overridden ?
AleXzpm
  • 1,024
  • 2
  • 10
  • 22
1
vote
1 answer

Best way to access package.json version and build variables in react native app?

I'm building a react native iOS app, and would like to: 1) Display the app's current version from the package.json file in the app itself. Specifically: Now that I've implemented codepush, I want to display the current app version on the Settings…
1
vote
0 answers

React-native Android CodePush not working in Release mode

I have a react-native app with 3 android product flavours namely dev, prod and staging. The problem is that when I try to distribute the app via Crashlytics, basically when I build a release signed apk file, CodePush stops working. I am using…