Questions tagged [react-native-code-push]

162 questions
2
votes
1 answer

Codepush - js and css files (from assets) not loaded in device

Currently working on react native app and using codepush to update the app data. I am terribly stuck in a problem where js and css files on webView are not downloading. I checked the 'application support' from home directory. I found that only…
2
votes
0 answers

main.jsbundle is an empty file

Greeting! I'm on a task to upgrade RN from 0.41 to 0.50.4 and I'm running into a weird problem. My App runs fine when XCode Build Configuration is DEBUG on simulator. However, when I change Build Configuration to RELEASE. App crashes immediately on…
JakeRawr
  • 31
  • 4
2
votes
1 answer

Get the latest code-push deployed bundled on a fresh app install

Is it possible to ensure that after a fresh install of my code-pushified react-native app the user gets the latest deployed bundle from code-push? My intention is to ensure that the user will always get the latest version of my app even after…
2
votes
2 answers

Will code-push react-native override the iOS version and deploy an older push to newer version?

Lets say I have an iOS app version 5.0 and deploy a code push update. Then I make a new app version 5.1, it appears that old update is still being applied to the new version 5.1 Is this expected behavior? How can I get code-push to deploy only to…
2
votes
1 answer

CodePush updating a newly installed app

I am setting up code-push for my app and found a weird behaviour. I compiled the app for staging and installed it on the android phone and then pushed some updates through code-push which were downloaded fine. I am not changing the versions of my…
Aman Agarwal
  • 589
  • 1
  • 4
  • 22
2
votes
1 answer

How to show an notification after successful app update via Code Push

I'm using code-push to update my react-native app. I do not want to update it every time via App Store. I'm using installMode ON_NEXT_RESUME, thus the update is downloaded but not installed immediately. The new content will be available the next…
Boky
  • 11,554
  • 28
  • 93
  • 163
2
votes
1 answer

codepush react native new package

I tried react native code push and it works flawlessly. Let's say I modify the text in my buttons to say something else, then with a single command, the update is sent to the users. Now, lets say I am using a new npm library which requires some…
vvavepacket
  • 1,882
  • 4
  • 25
  • 38
2
votes
0 answers

When using Microsoft's CodePush on a React Native app, is there a way to force a user into a rollout that is not at 100% yet?

We're adding CodePush support to a React Native app. When we release an update we usually roll it out to 5% of our users first. Our QA team would like to be able to verify that an update is working fine on production before we increase this rollout…
Felipe Brahm
  • 3,162
  • 1
  • 28
  • 42
2
votes
1 answer

CodePush - Releasing an iOS bundle breaks Android and vice versa

Using react-native-code-push. Whenever I release an iOS version (using code-push release-react ... ios), it breaks my Android code push. Next time I try to get an update I get the following error: You attempted to set the key isPending with the…
Gilad Artzi
  • 3,034
  • 1
  • 15
  • 23
1
vote
0 answers

Code push is showing memory leak in the react native app

I am using code push for my app but it is showing me memory leak useEffect(() => { checkforupdate(); }, []); async function checkforupdate() { codePush.sync( { installMode: codePush.InstallMode.ON_NEXT_RESTART, }, …
Rover
  • 661
  • 2
  • 18
  • 39
1
vote
1 answer

how can i manage errors in code push updating?

I'm trying to manage errors with a try catch in my application. For example in this case if there's no connection , to catch the error with my application going without codepush to interfere . Simply stop codepush if there are errors and go on with…
1
vote
0 answers

Getting Error When implement the code push

I want to do CodePush Setup in my React Native Project, but I am getting this error. i have done all the setup for codepush and when i run the code push command for both application (android/ios) i am getting this…
1
vote
1 answer

How to make a loading with a progress bar in code Push?

Hello everyone i'm trying to make a styled updating in code push. i want the application to follow these steps: when the update start i want to show a loading ; when the update is updating i want to show a screen with a text (" Updating ") and…
1
vote
1 answer

Codepush crashes on android when updateDialog is set to true

I have used the documentation at https://github.com/microsoft/react-native-code-push/blob/master/docs/setup-android.md#plugin-installation-and-configuration-for-react-native-060-version-and-above-android to install codepush on android. For some…
1
vote
1 answer

react-native code-push is not showing images from assets in the app

I am using react native , and using code-push . problem i am getting is- images from assets are not appearing in the app after code-push. please help me out . is there any command i am missing while creating build or what? I am using below command…
MURARI Yadav
  • 240
  • 3
  • 11