Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :react-native-mauron85-background-geolocation-common.
Looks like there is a issue with the common folder not being resolved correctly.
Received this issue
All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com/r/tools/flavorDimensions-missing-error-message.html
read my comment https://github.com/mauron85/react-native-background-geolocation/pull/168#issuecomment-380144164
just run react-native link react-native-mauron85-background-geolocation it should do the job
negative @mauron85 getting some issues with the referencing of :app
@jeffreymendez1993 if you have this flavor issue related to gradle3, then please wait I'm working on it.
@mauron85 downgraded my gradle I think I got it working now. Issue is with firebase. Try using firebase and gmaps together on a install and tell me if its painless haha. Also perks on gradle 3 the builds are drastically faster, but I guess not everyone is ready yet for it.
Could not get unknown property 'android' for project ':app' of type org.gradle.api.Project.
is the boss I am trying to beat now.
@jeffreymendez1993 that sound like project related
not sure why I cant easily install this module on android. I used a older version that was compatible with my newer gradle that worked locally but then I cannot build it to production. @mauron85
removed the package and my project built for release just perfect. I guess ill sit tight until the gradle changes are in there. If I was better at java id help.
I'm having the same issue. Firebase made breaking changes to use gradle 3 about 18 days ago.
I'm trying to use this library with push messaging from Firebase, but am forced to use Gradle 3 to get that installed, which is forcing me into the same problem @jeffreymendez1993 and @gtaylor44 are having. Which is a long-winded way of saying, +1 to getting this fixed. Thanks for your work, @mauron85!
I am also using firebase, which as forced me up to gradle 3, but would love to use this lib. It's looks like exactly what we need, since transistorsoft's lib was a bit too controlling with regards to letting us have access to the raw provider etc. Dropping this thread a +1 so I can get a notification if this Gradle 3 problem gets resolved :)
If we want to fix this ourselves, where should we be looking?
@gtaylor44 I've seen it done. https://github.com/mauron85/react-native-background-geolocation/compare/master...vivekkiran:master
@gtaylor44 another option
https://github.com/kruyvanna/react-native-background-geolocation
FYI: just added experimental support for gradle3. See https://github.com/mauron85/react-native-background-geolocation/issues/176#issuecomment-392015665
Marking as duplicate of #176. Closing. Let's continue discussion there.
Most helpful comment
@gtaylor44 another option
https://github.com/kruyvanna/react-native-background-geolocation