This repository was archived by the owner on May 20, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
This repository was archived by the owner on May 20, 2025. It is now read-only.
iOS app not updating #734
Copy link
Copy link
Closed
Description
Description
My app doesn't update whenever I push to codepush even though it looks like my setup is correct. I can verify that it's not working because I have opened and exited the app a bunch of times.
┌────────────┬───────────────────────────────────────┬──────────────────────────────────┬──────────────────────┐
│ Name │ Deployment Key │ Update Metadata │ Install Metrics │
├────────────┼───────────────────────────────────────┼──────────────────────────────────┼──────────────────────┤
│ Production │ abc123-ER1Zk1llw5Apk3gI8HN37NyRzl4z0Z │ Label: v17 │ No installs recorded │
│ │ │ App Version: 1.0 │ │
│ │ │ Mandatory: No │ │
│ │ │ Release Time: 4 hours ago │ │
│ │ │ Released By: edmundmai@gmail.com │ │
├────────────┼───────────────────────────────────────┼──────────────────────────────────┼──────────────────────┤
│ Staging │ abc123xGp-l0eMKT0xH10_QxVQCkNyRzl4z0Z │ Label: v21 │ No installs recorded │
│ │ │ App Version: 1.0 │ │
│ │ │ Mandatory: No │ │
│ │ │ Release Time: 5 hours ago │ │
│ │ │ Released By: edmundmai@gmail.com │ │
└────────────┴───────────────────────────────────────┴──────────────────────────────────┴──────────────────────┘
Reproduction
React Native component:
import codePush from "react-native-code-push";
class MyApp extends Component {
render() {
if (this.state.isStoreLoading) {
return (
<View>
<StatusBar hidden={true} />
</View>
);
} else {
return (
<Provider store={store}>
<View style={styles.container}>
<StatusBar hidden={true} />
<PlatformMain />
<IntroMain />
</View>
</Provider>
);
}
}
}
export default codePush(MyApp);
AppRegistry.registerComponent('MyApp', () => MyApp);
AppDelegate.m:
#ifdef DEBUG
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
#else
jsCodeLocation = [CodePush bundleURL];
#endif
Info.plist
Additional Information
- react-native-code-push version: 1.16.1-beta
- react-native version: 0.39.2
- iOS/Android/Windows version:
- Does this reproduce on a debug build or release build? Both staging and release
- Does this reproduce on a simulator, or only on a physical device? Physical device, possibly on a simulator too
Metadata
Metadata
Assignees
Labels
No labels
