react-native-code-push icon indicating copy to clipboard operation
react-native-code-push copied to clipboard

Changes are not reflecting after download and install on IOS

Open jitish2 opened this issue 5 years ago • 41 comments

Hi Code Push Team, I'm facing an issue On IOS after bundle downloaded and Install on IOS devices new changes are not reflecting and android it is working fine.

Check Screenshot of App Center and Code Implementation

App Center Dashboard Screenshot 2021-02-08 at 9 37 08 PM

App.js Screenshot 2021-02-08 at 10 32 34 PM

AppDelegate.m Screenshot 2021-02-08 at 10 24 23 PM

Environment

  • react-native-code-push": "^6.4.0"
  • react-native": "^0.62.2",
  • iOS 10.15.6
  • Does this reproduce on a debug build or release build? => Both
  • Does this reproduce on a simulator, or only on a physical device? => Both

Please help me out and Let me know if you need anything else.

jitish2 avatar Feb 08 '21 16:02 jitish2

why was this closed ! i am facing same issue

FadiAboMsalam avatar Mar 31 '22 10:03 FadiAboMsalam

Facing this issue on IOS

hashkazi00 avatar Apr 01 '22 16:04 hashkazi00

facing the same issue in android , build is pushed successfully but changes are not reflecting in app

yadavmurari111 avatar May 16 '22 06:05 yadavmurari111

facing the same issue in android , build is pushed successfully but changes are not reflecting in app

+1

LucasArgate avatar May 16 '22 13:05 LucasArgate

+1 on iOS

renanbronchart avatar Jun 29 '22 16:06 renanbronchart

+1 on iOS

thenriquedb avatar Jul 11 '22 17:07 thenriquedb

+1 on iOS

alexrogo avatar Jul 21 '22 19:07 alexrogo

Our problem was that we had overlooked an important step in the documentation. Actually, some tutorials are completly missing this step.

In your AppDelegate.m file, make sure to import #import <CodePush/CodePush.h> and have this line included: return [CodePush bundleURL];

@jitish2 set it up correctly, but for us it was the solution.

the file should look like this: image

alexrogo avatar Jul 22 '22 13:07 alexrogo

I managed to solve it by passing the -m flag in the command. Example: appcenter codepush release-react -a <ownerName>/MyApp-iOS -m --description "Modified the header color"

thenriquedb avatar Jul 22 '22 14:07 thenriquedb

+1 on iOS

vksgautam1 avatar Aug 19 '22 14:08 vksgautam1

+1 on IOS

mateomarconi avatar Oct 04 '22 18:10 mateomarconi

+1 Android is not reflecting newest changes. however i tried by disable multi-deployment and test it by using one production key.

MoamberRaza avatar Nov 30 '22 10:11 MoamberRaza

@MoamberRaza did you find any solution? iam facing the same issue

mashad6 avatar Dec 13 '22 11:12 mashad6

@mashad6 it been fixed now can you share the ( @overrided ) code of MainApplication.java.

MoamberRaza avatar Dec 13 '22 11:12 MoamberRaza

Guess I'm tagget by mistake @MoamberRaza )) Have a good day)

Overrided avatar Dec 13 '22 13:12 Overrided

@MoamberRaza @ Override protected String getJSBundleFile() { return CodePush.getJSBundleFile(); }

mashad6 avatar Dec 13 '22 13:12 mashad6

@mashad6 are you trying to use multi deployment feature. ? and you are sure you have followed properly documentation.

MoamberRaza avatar Dec 13 '22 13:12 MoamberRaza

react-native: "0.70.6" react-native-code-push: "^7.0.5"

Changes are not reflecting on iPhone

hypesol avatar Jan 09 '23 10:01 hypesol

I got the same issue. RN ver 0.66.5 and CodePush ver 7.0.4 (Because ver 8.0.0 cause some error). I got Reporting Codepush update success (v3). But nothing changed. So the display should be text "App version 0.1.2", but it show "App version 0.1.1". My code here: import React from 'react'; import { SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, useColorScheme, View, } from 'react-native'; import codePush from "react-native-code-push";

const App = () => { const green = "#00FF00"; const blue = '#00BFFF'; const gray = "#888"; const white = '#FFFFFF'; const black = '#000'; const version = { V1: { name: '0.1.1', colorBackground: blue, colorFont: black }, V2: { name: '0.1.2', colorBackground: gray, colorFont: white } } const selectedVersion = version.V1; return ( <View style={{ width: '100%', height: '100%', backgroundColor: selectedVersion.colorBackground, display: 'flex', justifyContent: 'center', alignItems: 'center' }}> <Text style={{ color: selectedVersion.colorFont, fontSize: 25 }} > App version {selectedVersion.name} ); } const deploymentKey = "o-ok5XyJlOr8vV3VyBW31aqrelcEB1V9YmUw6";

export default codePush({ checkFrequency: codePush.CheckFrequency.ON_APP_START, installMode: codePush.InstallMode.IMMEDIATE, deploymentKey: deploymentKey })(App);

DevMobileAn27 avatar Apr 07 '23 09:04 DevMobileAn27

I'm having the same problem on Android. Who can help me ?

xuandac avatar May 05 '23 04:05 xuandac