Comments (10)
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.
Duplicate of #2
from adhan-dart.
@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.
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.
if (mounted) { return; }
#1 this was the reason behind mounted checking.
from adhan-dart.
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.
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.
from adhan-dart.
@moosalim can you please check if this is working or not?
from adhan-dart.
It works fine if I use this:
if (!mounted) { return; }
from adhan-dart.
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)
- [Question] HOT 1
- 'sunset' time [Question] HOT 2
- latitude more than 65: Error value should not be infinite or NaN HOT 4
- Prayer timing is not correct for palestine[Bug]
- [Question]
- IQAMAH Time? HOT 1
- FormatException ishaAngle's value isn't define[Bug]
- LateInitializationError: Field 'prayerTimes' has not been initialized. HOT 9
- Exception with prayer times [Bug] HOT 7
- Issue in the asr at Calculation Method.turkey HOT 2
- [Bug] Update the package to support Dart 3 HOT 3
- Midnight calculation HOT 1
- Please add for the country of Iraq
- Adhan package Return wrong time on different timezone HOT 2
- Can we automize the calculation parameters? HOT 4
- [Feature] Add Ishraq, Chast Prayer Time
- [Bug] Wrong Next and Current Prayer Times HOT 2
- Wrong Fajar & Isha Time HOT 1
- [Bug] 🐞 Incorrect Dhuhr Prayer Time in Egypt
- [Feature] 🛠️ Testing Declaration in Main Readme
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adhan-dart.