-
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
Add react-native@0.60 and above support #1735
Conversation
What is the reason to use |
@RodolfoGS it is used for migration from rnpm. RNPM is deprecated. |
@alexandergoncharov link hooks not anymore needed? Referenced the PRs related to this. |
😍 @alexandergoncharov thanks for this, did you miss #1645 |
@alexandergoncharov how to use configuration with public key (fourth argument)? On RN 0.59, it looks like this: packages.add(new CodePush(BuildConfig.CODEPUSH_KEY_ANDROID, getApplicationContext(), isDebug(), R.string.CODEPUSH_PUBLIC_KEY)); |
@MatthewPattell please, this is a PR! If you need help for something open an Issue. PS: when you execute |
@alexandergoncharov hi, thanks for the work you're doing. |
Look carefully at the question! I asked about the public key, not deployment |
Does this PR work with multi-deployment? From what I am looking at the moment with the code changes. It doesn't seem to support multi deployment for android or am i mistaken? The following docs changed that I requested a month and a half back at MicrosoftDocs/appcenter-docs#767 does resolve this though. |
Hi @zanechua , Your approach is really good. Could you please create PR to current branch with your changes about multi-testing deployment? It will be cool to have this changes in current PR. |
Hi @joseph-d-p, Unfortunatelly hooks doesn't work anymore and users have to change some part of code manually. |
@alexandergoncharov Created the pull request to the |
Hi @MatthewPattell , Good catch! Thanks! |
Hi @giacomocerquone, Thanks for this suggestion! |
I'm still confused about the Android setup for RN 0.61. Is it enough to follow ONLY the section: Or do you ALSO have to do the lower sections: |
@alexandergoncharov |
Hi @builtbyproxy , Thank you! |
Hi @JeremyBradshaw7, Yeah, Plugin Installation and Configuration for React Native 0.60 version and above is enough for setup CodePush for new react-native version. Code Signing Setup is optional. But I got your confusing. We prepared new PR for adding more context about react-native versions in titles. |
Do you need any help/testing from us around the custom variables? |
@builtbyproxy , Yeah, we just opened new PR with getting custom properties from string resources: #1740 Thanks for help! |
* Add react-native.config.js file * Updated docs
react-native.config.js
rnpm
section inpackage.json
for back-compatibility with React Native version < 0.59