-
Notifications
You must be signed in to change notification settings - Fork 5
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
Upgrade needed for Expo SDK 50 #4
Comments
I haven’t yet been able to test it against v50. I’ll do some tests on the weekend, hope to have this support soon. Thanks for reporting. |
@GSTJ Thanks a lot! I tried to bump to expo SDK 50 and rebuilt the plugin (I still don't know how I managed to do that! jajaja) but this issue arise. I think it might be related to changes on Android switching from java to kotlin in RN 0.73 https://expo.dev/changelog/2024/01-18-sdk-50#%E2%9E%A1%EF%B8%8F-upgrading-your-app and maybe some changes in codepush RN package too microsoft/react-native-code-push@357cbea but as I don't know where exactly to touch anything, I was unable to fix it |
I've been working on setting up CodePush with the latest version of Expo. My progress can be seen in this pull request: #5. So far, I've managed to integrate CodePush in a way that seems logical for my plugin, and happily, the Expo prebuilds no longer fail and reflect the changes I've implemented. However, I'm encountering an issue: the Android build is failing. This is a problem originating from CodePush itself and suggests a lack of compatibility with Kotlin. You can see the specific error details in the screenshot attached from my build process. ![]() I have yet to find any particular updates on the code push repo on how to integrate with Kotlin; let me know if you have any ideas. I accept contributions, too. We might need to wait. (and everyone else using React Native) You can try my changes out with |
Let me know if you're able to test with the above patch + my beta release. If it looks alright, I can merge and push to latest. |
Just sent PR for that requirements thing |
Not needed anymore |
Hi! I can confirm that your changes and the ones suggested in microsoft/react-native-code-push#2649 on local react-native-code-push solved the issue with Expo SDK 50. After applying those changes and adjusting some minor code upgrades/deprecations in my app (not related to codepush nor your plugin) the build succeeds and the codepush update is working after pushing an update to the app |
Thanks for the help testing! Merged both PRs and made a final public release at 1.0.6. |
Great! Thanks a lot! |
Hi! I have tried to test the plugin against Expo SDV 50 and I failed! Please check my updated repo https://github.com/mgscreativa/react-native-code-push-plugin
Using this code I get
The text was updated successfully, but these errors were encountered: