Questions tagged [react-native-code-push]

162 questions
0
votes
0 answers

react-native application shows white screen after forced reboot via codePush.restartApp

I force restart react native application after installing code push update using codePush.restartApp(true). At the moment of restart, a white screen appears for a second and then the splash screen from react-native-bootsplash is shown. Please tell…
0
votes
0 answers

Getting error after changing in info.plist react native ios

I am implementing the code push in my ios react native. I followed the tutorials and made some changes. I did changes on info.plist file. and I am getting below error error: unable to read property list from file:…
Abhigyan Gaurav
  • 1,854
  • 6
  • 28
  • 58
0
votes
0 answers

How to AddRegistry again after React Native app has launched?

Here is the index.js in my React Native 0.70.x app. /** * @format */ import 'react-native-gesture-handler'; import {AppRegistry} from 'react-native'; import App from './App'; import {name as appName} from './app.json'; import codePush from…
user938363
  • 9,990
  • 38
  • 137
  • 303
0
votes
0 answers

Does react-native-code-push retrieve user's ANDROIDID?

My React Native 0.70 app uses react-native-code-push 7.1.0. And the way it was integrated into the React Native app happens at the index.js: /** * @format */ import 'react-native-gesture-handler'; import {AppRegistry} from 'react-native'; import…
user938363
  • 9,990
  • 38
  • 137
  • 303
0
votes
0 answers

React Native Android assets is not showing when after codepush

Images disappear after installing CodePush update says If your app is using the React Native assets system to load images (that is the require(./foo.png) syntax), then you MUST release your assets along with your JS bundle to CodePush. is with…
0
votes
1 answer

RN CodePush failed with exception "No property named "" exists in the "android/gradle.properties" file

I'm having issues on pushing release via codepush. Command 'codepush release-react -a [project] -d Development' failed with exception "No property named "getVersionNameFromNpm()" exists in the "android/gradle.properties" file." On my…
Riku
  • 652
  • 1
  • 9
  • 24
0
votes
1 answer

i am facing issue while generating apk in react-native after implementing react-native-code-push

i am using react-native version : "react-native": "0.68.1" and "react-native-code-push": "^8.0.2", i doing all the setup i am trying to build first apk using this command npx react-native run-android --variant=release ia m getting this…
Learner
  • 1
  • 2
0
votes
0 answers

Execution failed for task ':app:mergeReleaseResources' in apk build

When ./gradlew assembleRelease on MacOS 13 for React Native 0.70.1/gradle 7.2.1 app, there is error about resource merge: * What went wrong: Execution failed for task ':app:mergeReleaseResources'. >…
user938363
  • 9,990
  • 38
  • 137
  • 303
0
votes
0 answers

Task 'bundleDevReleaseJsAndAssets' not found in root project 'my app'. Some candidates are: 'bundleReleaseJsAndAssets'

When I do ./gradlew assembleRelease under android for my React Native 0.70.1 app, it throws the error above. I did ./gradlew assembleRelease -x 'bundleDevReleaseJsAndAssets' and the error is the same. There is index.android.bundle under…
user938363
  • 9,990
  • 38
  • 137
  • 303
0
votes
0 answers

CodePush Sync already in progress - how to handle?

I have a problem with code push, i'm running with the following code. import 'moment/locale/pl'; import {AppRegistry} from 'react-native'; import {name as appName} from './app.json'; import App from './src/App'; import moment from 'moment'; import…
0
votes
0 answers

"No signature of method: java.util.ArrayList.get()" after upgrading react-native-code-push from 7.0 to 8.0

After upgrading react-native-code-push from 7.0.x to 8.0.1 with React Naive 0.70.x, npx react-native run-android started to throw error: 1: Task failed with an exception. ----------- * Where: Script…
user938363
  • 9,990
  • 38
  • 137
  • 303
0
votes
0 answers

React native codepush updates effecting startup time of react native app

My app is opening in 3 seconds on 2gb ram mobiles when there is no codepush implemented in the app, when codepush is present and when codepush downloading the updates, from next restart the app is taking 15 to 20 seconds to open, before showing…
0
votes
0 answers

I have an error building my TSX-Expo-React Native application: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'

When I build my application with eas build with expo, everything is correct, only at the end this error appears. I have read a lot and I have not been able to solve it. If someone can guide me, that would be great. I show code... Running 'gradlew…
0
votes
0 answers

CodePush ReactNative "auto roll-back" iOS app version after reopen app

on iOS, After modifying some features and stuff in our app we just released both new versions over the air and all goes ok. The app discovers the update accordingly, then installs it and so restarts the app. Everything was ok until I realize that…
Rohit Suthar
  • 2,635
  • 1
  • 22
  • 27
0
votes
0 answers

What is the stategy of a Codepush rollout?

Can anyone elaborate on this as there is no information in the Microsoft documentation. My theory is that the first X% of users who start the app and qualify for the upgrade (based on the total number of AppCenter users) actually get it. My…