Skip to content
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

RN0.43 capacity #735

Merged
merged 1 commit into from
Mar 23, 2017
Merged

RN0.43 capacity #735

merged 1 commit into from
Mar 23, 2017

Conversation

nihgwu
Copy link
Contributor

@nihgwu nihgwu commented Mar 3, 2017

No description provided.

@msftclas
Copy link

msftclas commented Mar 3, 2017

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@chirag04
Copy link

chirag04 commented Mar 4, 2017

related: #703

@nihgwu do you also need to add missing import import com.facebook.react.uimanager.ViewManager; in codepush.java?

@chirag04
Copy link

chirag04 commented Mar 4, 2017

this is a blocker for us. cc @sergey-akhalkov

@nihgwu
Copy link
Contributor Author

nihgwu commented Mar 4, 2017

It's already there:
https://github.com/Microsoft/react-native-code-push/blob/master/android/app/src/main/java/com/microsoft/codepush/react/CodePush.java#L8

@chirag04
Copy link

chirag04 commented Mar 4, 2017

this is weird. maybe i accidentally removed it while making it work for RN 43 and added it back.

@ptomasroos
Copy link
Contributor

Blocking here as well since we're using master.

@richardhuaaa
Copy link
Contributor

Hi @sergey-akhalkov - could you or Max reproduce this issue, and then test the fix against 0.43, 0.41 and 0.39 (just looking at the breaking changes table) to ensure that it's backwards compatible? I assume it only applies to Android. Thank you :)

@sergey-akhalkov
Copy link
Contributor

Hi @Silhouettes, I've reproduced the issue for RN 0.43.0-rc.1 for Android only and I can confirm that provided fix works well for this version of RN. I also can confirm that the fix has no backwards compatibility both with RN 0.39 and RN 0.41.

@nihgwu
Copy link
Contributor Author

nihgwu commented Mar 7, 2017

@sergey-akhalkov yes I just make it work for RN0.43
you can modify it or cut a new version for backward compatibility

@aslak-dirdal
Copy link

When will this be merged?

@rodrigopivi
Copy link

expecting this to get merged soon, it´s breaking for RN 0.43, which is already at pre release state

@richardhuaaa
Copy link
Contributor

richardhuaaa commented Mar 22, 2017

@aslakagens, it should be merged tomorrow or the day after

@sergey-akhalkov
Copy link
Contributor

sergey-akhalkov commented Mar 23, 2017

Merging this due to all seems to be ok, except this issue, that have place due to the React version 16.0.0-alpha.5 has been published on NPM. It can be fixed by downgrading React version to 16.0.0-alpha.3 in your package.json file and re-installing the dependencies.

@nihgwu
Copy link
Contributor Author

nihgwu commented Mar 23, 2017

@sergey-akhalkov I think that issue should have been resolved by this commit facebook/react-native@14c31d9

@sergey-akhalkov
Copy link
Contributor

@nihgwu, thank you for clarification, the commit has been merged so I suppose the next release of RN will fix the issue.

@richardhuaaa
Copy link
Contributor

We will publish this on npm the same day that RN 0.43 exits RC.

@mikeduminy
Copy link

@Silhouettes 0.43 has been released and the problem persists. Please can you publish the new version of this lib to npm?

@sergey-akhalkov
Copy link
Contributor

@michaelduminy, we've released new version of React Native Module for CodePush: [email protected] (it's available via npm), please let me know if you see any issues or have any questions.

@mikeduminy
Copy link

Thanks @sergey-akhalkov & @Silhouettes! That has solved my compilation issue 👍

@gitfdy
Copy link

gitfdy commented Jul 31, 2017

"react-native": "^0.41.2",
"react-native-code-push": "^4.1.0-beta",

@sergey-akhalkov build android

Execution failed for task ':react-native-code-push:compileReleaseJavaWithJavac'.

@max-mironov
Copy link
Contributor

Hey there @gitfdy, please verify our compatibility table here. Seems that 0.41.2 is not compatible with CPRN 4.1.0-beta

@nihgwu nihgwu deleted the patch-1 branch July 31, 2017 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.