Questions tagged [react-native-code-push]

162 questions
18
votes
3 answers

React native android deploy files to server

I am new to React Native I want to know how is it possible to deploy react native part or code like javascript files and assets on server and then use it. Currently it is showing as localhost Please let me know how to deploy it on server also is it…
amodkanthe
  • 4,345
  • 6
  • 36
  • 77
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
11
votes
2 answers

React Native Download JS Code from remote server

I am currently doing an R&D in React Native. I have a requirement where I need to add some modules(Basically code) in the app. It is impossible in native iOS app to do so. In React native apps using tools like AppHub and CodePush, we can push builds…
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…
8
votes
4 answers

Code Push breaking jest tests for react-native

I have configured an app for code-push, it works well except for jest tests. It fails in rendering app for this error: TypeError: Cannot read property 'CheckFrequency' of undefined at Object. (app/index.js:7:66) at Object.
Assem
  • 11,574
  • 5
  • 59
  • 97
5
votes
3 answers

React Native codePush rollback after restart

I'm trying to implement AppCenter CodePush to update Javascript code without having to go through the App Store review process. I've followed both the iOS and Android steps mentioned here to setup multi deployment…
5
votes
3 answers

Registering React Native Code Push with React Native Navigation by Wix

I use react-native-code-push. which is: This plugin provides client-side integration for the CodePush service, allowing you to easily add a dynamic update experience to your React Native app(s). but In some of native implementations of…
4
votes
1 answer

How to manage react-native codepush versions?

I'm going to apply codepush to react-native. The app is currently distributed to the store. I haven't applied codepush yet. But I have a question. For example, suppose the version of the app deployed in the store is v1.0.0. And we applied codepush…
4
votes
1 answer

resolving assets relative to react native bundle file outside project root

Issue(android): where to place image assets relative to js bundle file if bundle file is located outside of project root? We have a small service where we upload JS bundles on each build. So, for example we have app com.example, if we want to update…
ryzhak
  • 395
  • 5
  • 13
4
votes
1 answer

React Native 0.60+ on iOS: Code Push, Sentry, React Native Navigation v3 and AppDelegate.m

I migrated to React Native 0.60 from 0.59 and haven't managed to make iOS build work. I'm using React Native Navigation v3, Code Push and Sentry plugins. How does my AppDelegate.m should look? Here is my attempt, but it's not working and I get "No…
4
votes
0 answers

APP crashed when I installed the RN update

I integrate react-native-code-push to my RN project. But when I installed the update, the APP was crashed. Here is the source code. 2018-10-30 11:26:52.274 14122-14122/com.example.jason.rnandroid E/AndroidRuntime: FATAL EXCEPTION: main Process:…
欧阳奖
  • 37
  • 3
4
votes
1 answer

iOS react-native-code-push app working in debug / release mode but white screen with archived TestFlight app

I'm trying to use Microsoft Code Push to update the JS bundle without submitting the app to iTunes again. On debug and release mode, the app can successfully load the bundle via Code Push and install updates at the next startup. Unlike the debug /…
Al3
  • 165
  • 1
  • 3
  • 10
4
votes
0 answers

Is it possible to use codepush with multiple root components?

my index.js file registers multiple root components like following import RNUserInfo from 'custom_auth/react/user/user-info/components/entry/user-info' AppRegistry.registerComponent('RNUserInfo', () => RNUserInfo); import RNProduct from…
eugene
  • 39,839
  • 68
  • 255
  • 489
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?
user3791980
  • 435
  • 9
  • 18
3
votes
1 answer

How to detect native code change in react native app

I have a React Native app with code push configured and running. We use a variation of semantic versioning. Incremental version is incremented automatically, and we use code push for most of these updates. Minor version is incremented (mostly)…
CoatedMoose
  • 3,624
  • 1
  • 20
  • 36
1
2 3
10 11