Giter VIP home page Giter VIP logo

Comments (5)

JobGetabu avatar JobGetabu commented on July 17, 2024 3

A good work around towards this error is first
add latest play services for location
implementation 'com.google.android.gms:play-services-location:15.0.1'

Add this to your manifest file

<meta-data
            tools:replace="android:value"
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />

from smart-location-lib.

jaydeepw avatar jaydeepw commented on July 17, 2024

Is anybody looking into this?

from smart-location-lib.

mrmans0n avatar mrmans0n commented on July 17, 2024

Are you already importing play services to your dependencies? And is it the 6.5.87 version?

This could happen because you are setting up the transitive = false and you are using an old play services version. Either way, this is happening because something is wrong in your configuration.

You could try and download this project code and run the sample project. If it works, well, the problem is in your end 😄

from smart-location-lib.

jaydeepw avatar jaydeepw commented on July 17, 2024

Alright. Yes, you are right, I am using an older version of GPlay services. That, however, is for legacy reasons. I will try updating it for a while and try testing if my app works.

Thanks anyway for this small-little tool.

from smart-location-lib.

mrmans0n avatar mrmans0n commented on July 17, 2024

You could always not use the transitive = false part, and use the LocationManagerProvider instead of the default one when setting up the provider in SmartLocation. It should work that way, but it wouldn't be using the fused location provider from play services. Maybe it's worth a try.

from smart-location-lib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.