-
Notifications
You must be signed in to change notification settings - Fork 585
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
Alert Gradle Deprecated after installation Realm #3879
Comments
@bnobre Thanks for reporting. We will look into it as soon as we can. |
➤ Andrew Meyer commented: I have added this to our backlog. |
➤ Andrew Meyer commented: This could be useful to come up with a solution. |
When using Realm in React Native projects, Gradle was complaining the way applicationId was being declared (using a deprecated method). This PR tries to fix this issue. This fixes #3879
When using Realm in React Native projects, Gradle was complaining the way applicationId was being declared (using a deprecated method). This PR tries to fix this issue. This fixes #3879
It's possible the problem lies in how analytics.gradle is defined. Perhaps adhering to the class structure in the documentation would make the issue go away. I attempted this, but |
Fix has been merged and will come in the next release |
Goals
After installing Realm, I wish that when I run the command "react-native run-android" it does not display the following warning: "Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings."
Expected Results
I would like this alert to disappear "Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.", which only appears after installing Realm.
Actual Results
Always after installing Realm, when executing the command "react-native run-android" the alert is displayed.
Steps to Reproduce
1 - Create a new react native project: react-native init testApp
2 - Install Realm: yarn add realm
3 - Run the app: react-native run-android
Version of Realm and Tooling
The text was updated successfully, but these errors were encountered: