-
Notifications
You must be signed in to change notification settings - Fork 46
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
fix(core): fix build error with react native 73 & AGP 8 #593
Conversation
Hi @rvasseur31, thanks a lot for taking the time to troubleshoot your issue and open this PR! For reference, could you describe the error message you did get and under which conditions? If you can share a repo reproducing the bug or steps to create one that would also greatly help us in reviewing this :) Thanks a lot! |
Hi @louiszawadzki ! Here is the error :
I don't have the time to share a simple repo today, I will try to do it before the end of the week. |
Here is the step to reproduce the error :
Here is the project repo : https://github.com/rvasseur31/datadog-android-build-error |
Hi @rvasseur31, thanks a lot for sharing this so quickly! We are able to reproduce the issue and we had other reports of it today. Once it is merged I'll close this PR, I hope you understand that this is the fastest way for us to release this fix. We'll also dig more into why this issue happens and raise it to RN maintainers, it seems to have been added in the last 0.73 release candidate and wasn't mentioned on the migration guide for libraries so plenty of other libs might be impacted. |
No worries and thanks for the explanation! We're using patch-package while waiting for a new version |
Hi @rvasseur31, we've released |
What does this PR do?
This PR aims to fix a build error with React Native 73 (or Expo 50) & AGP 8. Since React Native 73, Java 17 is required.
The fix comes from an expo native module patch, that you can find here : https://gist.github.com/brentvatne/61cd1a938fb4ba8869bc490647aa52e8/revisions
Motivation
We want to build properly our app with the last React Native version
Review checklist (to be filled by reviewers)