-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOS update problem #840
Comments
Hi @alexeyMohnatkin, thanks for reaching us. I believe that ad-hoc apps should work with CodePush as well as other app. As of now, it is hard to say what goes wrong without any logs or code samples. Please let me know if you have any questions. |
Hi @pvsong, I've a CodePushified react-native app that has been built in release mode and installed on the iPhone. It works well for me without any exception. Also here is the customer that has CodePushified app and successfully distributes it via TestFlight - then the app successfully downloads and applies CodePush update. |
I have it working on Android and iOS without exception, however there seems to be an issue that has only presented on iOS where the app thinks it has successfully updated even if the update process was int interrupted. Once that issue occurs, the only way to get those devices to get up to date is to roll a new version. |
@sergey-akhalkov, what logs do you need?
There's another strange thing: when I run Staging build it installs updates from Production deployment. And I have right app keys in right places, I checked many times. |
@alexeyMohnatkin, I've just tried to configure and install test app on device that uses Release and Staging schemes and it works well for me. I've just completed this steps, then I've changed Archive's Build Configuration value from default "Release" to "Staging": So could you please confirm if you've changed Archive's default Build Configuration value? |
Hi @jbcullis, could you please create new issue and provide us more info, so we would able to investigate and fix it? |
@alexeyMohnatkin, @jbcullis, closing this for now, please feel free to reopen or create new issue so we would able to help you. |
We're running into this issue as well. I've made some changes which I can confirm were correctly uploaded: And in the console it says it updated: but I'm not seeing my changes show up in the app. You can see the matching version number(14). Here's my code: export function restartApp() {
codePush.restartApp();
}
export default async function () {
if (codePushEnabled) {
const successCode = await codePush.sync({
deploymentKey: CODEPUSH_KEY,
installMode: codePush.InstallMode.ON_NEXT_RESTART
});
if (successCode === codePush.SyncStatus.UPDATE_INSTALLED) {
store.dispatch(showUpdateModal());
}
}
} When the app starts, we are calling When they click "Ok, restart!" it does restart the app and after a restart I can see in the console is shows "Reporting CodePush update success (v14)" but my changes aren't there. Any ideas? This used to be working flawlessly but it wasn't until lately things aren't working properly. Versions:
|
@sergey-akhalkov I figured it out. We had a conditional inside of our
which I double checked because of this comment |
@dwilt, got it, we also have an iOS Plugin Configuration guide, so you could also verify if everything is set upped correct. |
@sergey-akhalkov changing |
Hi @jinxac, got it, let's continue investigation in the issue you have created #893 |
I'm trying to update ios app (ad-hoc build), but I don't see any changes. code-push cli says that updates have been installed. No problems with android.
code-push release-react appname-ios ios -d Production -t 1.0.8
code-push 1.17.4-beta
rn 0.42.0
IOS 10.3.1
Should it work on ad-hoc?
The text was updated successfully, but these errors were encountered: