Code Monkey home page Code Monkey logo

Comments (10)

iamriajul avatar iamriajul commented on June 11, 2024

Your Phone's GPS/Location service may be slow or turned off, and it has nothing to do with the actual library itself.

-- #2 (comment)_

from adhan-dart.

iamriajul avatar iamriajul commented on June 11, 2024

Duplicate of #2

from adhan-dart.

iamriajul avatar iamriajul commented on June 11, 2024

@moosalim Waalaikumussalam brother.

I haven't tested the example code (that you used) on an iOS device/simulator.
please find your own way to find GPS coordinates.

Thanks.

from adhan-dart.

moosalim avatar moosalim commented on June 11, 2024

My phone/gps is working fine, not slow.

The issue seems to be in the example code provided by you.

If I remove this it works:

if (mounted) {
return;
}

Please try it

from adhan-dart.

iamriajul avatar iamriajul commented on June 11, 2024

if (mounted) { return; }
#1 this was the reason behind mounted checking.

from adhan-dart.

moosalim avatar moosalim commented on June 11, 2024

Yes, this is the reason.

Please test the example code.

Please note that the example code is provided by you. It is not my code

from adhan-dart.

iamriajul avatar iamriajul commented on June 11, 2024

Yes, this was my typing mistake, this should have been if (!mounted) { return; }.
please check now, I have just pushed changes to the example code.
image

from adhan-dart.

iamriajul avatar iamriajul commented on June 11, 2024

@moosalim can you please check if this is working or not?

from adhan-dart.

moosalim avatar moosalim commented on June 11, 2024

It works fine if I use this:

if (!mounted) { return; }

from adhan-dart.

moosalim avatar moosalim commented on June 11, 2024

Can you please add all the library features and options to the example. some of them are not clear.

also I noticed that you have one file in the library for Qibla. can you please implement that in the example.

from adhan-dart.

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.