GithubHelp home page GithubHelp logo

Comments (3)

KipCrossing avatar KipCrossing commented on September 22, 2024

From a user

I installed the Soil Mate app on my Android, but I seem to be having a small issue - maybe you’re aware? When I “+ Add” a Texture or Ground Cover Survey, I can fill out the form (very nice! love how easy!) but it doesn’t seem to save it. When I click “Add” it returned me to the list page, but it is empty. I’m not an Android developer so I’m not sure how to go about helping to debug… and maybe it’s something specific about my setup. But happy to help figure it out if you need.

We just released a new version and I had the same issue. Check if your device location is turned on. I need to request that the user turns it on if it’s turned off; will push it in the next update.

Let me know if that fixes it for you.

Ah that might be it! I generally have location turned off by default.

Now when I add it asked to give permission, which I did. But then it asked me to turn on the Google Location service, which I denied (I prefer to just use the device GPS and leave the disabled on my phone… trying to slowly ween myself from Google’s grips) :slight_smile:

I’m still seeing an empty list after that though. 🤔

Is it possible that the Google location service is required? In my experience that’s just an added layer, but I assume you’re just making a standard call to the device’s location service?

from soil_logr.

KipCrossing avatar KipCrossing commented on September 22, 2024

Need to look into:

https://pub.dev/packages/geolocator

from soil_logr.

KipCrossing avatar KipCrossing commented on September 22, 2024

For now, I'm handling it by:

  try {
    Position position = await Geolocator.getCurrentPosition();
    return position;
  } on Exception catch (_){
    Position position = await Geolocator.getCurrentPosition(forceAndroidLocationManager: true);
    return position;
  }

but SHOULD update pending changes decided in: Baseflow/flutter-geolocator#667

from soil_logr.

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.