surialabs / react-native-geo-fencing

Native modules to determine if a location is within defined geographical boundaries using Google Geometry library
139 stars 33 forks source link

compile() method error #27

Open AdityaThummar opened 2 years ago

AdityaThummar commented 2 years ago

Build file 'D:\study\basic program for me\app\reactnative\DriveTraking\node_modules\react-native-geo-fencing\android\build.gradle' line: 16

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 3m 13s

carteak004 commented 1 year ago

replace compile with implementation in all 3 lines in the file where you are seeing this error and rebuild. You should not see this error anymore. But make sure to create a patch for this so you won't loose these changes next time you run yarn or npm install.

I faced the same issue and then some. Refer to https://github.com/surialabs/react-native-geo-fencing/issues/28 for the diff log