-
Notifications
You must be signed in to change notification settings - Fork 93
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/agp support android #331
Conversation
Some other options for this are:
|
I did a quick test first with my standard configuration on RN 0.69.7 that does not build without the package in the AndroidManifest.xml but that is fine as this version of RN is not supported by 0.70. And made a quick test on RN 0.73.X without the package in the AndroidManifest.xml that works. So for me it makes sense to make these change and for my project until I update things I will simply use the older version of this library. |
Totally support this. I have my project with 0.73 RN. Failed to build today due to the package in the AndroidManifest.xml file. Since I have to build and release my app, I have to patch this change with |
Right on, so just to confirm you've made these changes and 0.73 builds fine in your pipelines? I will merge and release it if so. |
What I can confirm is that the build worked immediately after I applied the patch. However, when my test engineer tested the app today, the app crashed, therefore, he was not able to carry on the complete test to make sure things are working. I don't think the crash is related, but I want to make sure it works properly. |
I appreciate the follow up, I'll wait for your comments/discovery before merging. |
Just let you know, as what I expected, the crash has nothing to do with the library. The changes in PR fixed the build in my case, and I am confidently that it works as what I expect. |
Works for me, second times the charm!! @ALL hopefully this doesn't blow anyone up. |
@mardikarifqi and @larlin can you take a look at this?
Looking at the link react-native-community/discussions-and-proposals#671 this requires two changes:
package
to thebuild.gradle
filepackage
from theAndroidManifest.xml
fileThe latter was missed. The PR also used
kjd.reactnative.android
instead ofkjd.reactnative.bluetooth
which is in the manifest. Not sure if that really matters, but probably.Anyhow, the
kjd.reactnative.android
package should be removed, all it's used for is back porting theBiConsumer
to Java 7, which it should be able to skip now, as I have to update the library to Java 17 based on this document and the 0.73 details anyhow.