BirjuVachhani / locus-android

An Awesome Kotlin Location library to retrieve location merely in 3 lines of code

Home Page:https://birju.dev/posts/retrieve-location-in-just-3-lines-android/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

if location disabled in settings it ask to enable location in settings but can't get location after enable it.

vicky-droid opened this issue · comments

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

steps to reproduce the issue:

  1. disable location in settings.
  2. click to fetch location from app
  3. it ask permission to enable location.
  4. it ask to enable the location in settings. enable it.
  5. now again try to fetch the location.
  6. not getting location.

I am facing the same issue, with the same steps

commented

do we have any fix for this issue?

Fix available in v4.1.0

implementation 'com.github.BirjuVachhani:locus-android:4.1.0'