Questions tagged [react-native-code-push]
162 questions
1
vote
0 answers
ANDROID 4 KITKAT Code push is successful but the app doesn't update
Steps to Reproduce:
Code push is successful.
When opened, the app does not update. Trying to log it produces the error UNKNOWN_ERROR from codepush sync.
Expected Behavior:
Code push should update the app after the user closes the App and restarts it…

reza ramdhanisti
- 11
- 2
1
vote
1 answer
Implementing CodePush for ReactNative with Emulator
We are testing the code push implementation for our ReactNative application to push js updates.
Changes Done:
Created App center login and connected to the github repo.
Deployed CodePush from my react native project using cmd
appcenter codepush…

Gowthaman
- 790
- 1
- 10
- 29
1
vote
0 answers
React Native bundle integrity with OTA
When one OTA the js bundle inside a react native app (via CodePush or similar), how does one ensure the bundle is intact?
with App Store or Google Play, the app / apk file is signed, thus ensuring the owner approved it, and also no one touched the…

Johnny
- 2,800
- 6
- 25
- 33
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…

filiphosko
- 303
- 4
- 10
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…

Trevor Watson
- 415
- 1
- 8
- 20
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…

Justin H
- 13
- 1
- 5
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…

Rameez Hussain
- 6,414
- 10
- 56
- 85
1
vote
1 answer
Update state on successful update with code push
I'm using code-push to update my react-native app. I don't want to upload it to App Store every time if I make an update, I want to push it directly to the users device.
It works fine, the app is updated but I'm trying to show an notification if the…

Boky
- 11,554
- 28
- 93
- 163
1
vote
1 answer
E/ReactNativeJS: undefined is not an object (evaluating 'b.default.sync')
add codePush into my project with Error:
E/ReactNativeJS: undefined is not an object (evaluating 'b.default.sync')
when I use a new react project with module app, install code push as the document says…

Freddy
- 764
- 2
- 6
- 21
1
vote
1 answer
Codepush - Updating the app from store issue
I'm using codepush on a cordova application, And I published a codepush version for v0.6.0.
I had add extra SDK's and uploaded new binaries to app store, When the user downloads the update from the appstore the codepush plugin still points the user…

Dima Grossman
- 2,800
- 2
- 21
- 26
1
vote
0 answers
React Native Code Push not building with Android but working for iOS
I have Code Push working with iOS perfectly. But after setting up an Code Push account for Android and setting up Android Studio I get the following error when I run: react-native run-android
* What went wrong:
Execution failed for task…

letter Q
- 14,735
- 33
- 79
- 118
1
vote
1 answer
How to push latest code to specific iOS staging phones with react native code-push
So I have an React Native iOS app where I am successfully able to push my latest changes with the command:
code-push release-react Laybium ios -m --description "Modified code"
When I reload the app on my phone the new code is immediately used. What…

letter Q
- 14,735
- 33
- 79
- 118