RN 61.2
Has anyone gotten this to successfully work with RN 61?
It seems as though it is downloading and installing the updates correctly, which means my deployment keys are set up correctly. However, I am not actually seeing any changes when the update is installed and applied. It does not appear that the updates are getting rolled back from the console.
I have wrapped my app in the higher-order component, like so:
const CodePushApp = codePush()(App);
export default CodePushApp;
Could it be that CodePush does not support functional components, and I need to refactor my main app to be a class component?
working for me on RN 0.61.1, I have main component as React.PureComponent and deployment key in JS codePushOptions (it doesn't work for me from Info.plist)
0.61.2 Download succeeded, but no replacement
@matejkriz Thank you! I made those two changes and everything seems to be working now.
@Darkhorse-Fraternity -- I suggest you try these things as well (making your root a PureComponent and doing the sync manually on the JS side).
Hi @chalarlie, how did you set up your MainApplication.java in the package part?
Hey @AdrianoBiolchi , my apologies for the late response. I actually have not yet tried this on the Android side but will taking a look at that in a couple of weeks. I will follow up here if you haven't found a solution.
You guys can refer to https://github.com/MicrosoftDocs/appcenter-docs/pull/767 for the updated documentation.
Hi all,
We opened PR for updating docs with setup CodePush for [email protected] and above. For more info please check here: https://github.com/microsoft/react-native-code-push/issues/1625#issuecomment-560489061
I'm going to close this issue as duplicate. Please feel free to ask any questions.
Thanks, Alexander