mptwaktusolat / app_waktu_solat_malaysia

Prayer times app for Malaysia. Accurate data from JAKIM. Install the app on your phones now.
https://play.google.com/store/apps/details?id=live.iqfareez.waktusolatmalaysia
GNU General Public License v3.0
44 stars 21 forks source link

Wrong waktu solat #14

Closed iqfareez closed 3 years ago

iqfareez commented 3 years ago

The problem is: Current API used in this app out of date,

Current API from: https://api.azanpro.com/

As stated on the website:

All data were crawled from official e-solat Jakim website (http://www.e-solat.gov.my/web) and locally stored into our own database for fast access.

The problem is the crawler update ran 1 year ago. This is the cause the data is not up to date.

Considerable solution: Change API provider to

  1. https://mpt.i906.my/api.html#response
  2. http://waktusolatapp.com/api/v2/waktu-solat?month=09&year=2020&zone=sgr01
iqfareez commented 3 years ago

mpt.1906.my can pass location data, example https://mpt.i906.my/api/prayer/3.0669150000000003,101.63664242857143

iqfareez commented 3 years ago

Idea: Use data from waktusolatapp.com

At the same time add new feature, Detect my location or something, using mpt.i906 api,

Tuntasnya, guna dua api dalam app ni. Idk about performance but let see how things going.

But the problematic api (azanpro api) has very well documentation 😭😭😭. Not like the others

iqfareez commented 3 years ago

On commit fc57adb, done restore all functionality using new api, however i noticed that the loading is slower than old api (the api response is lengthy)

iqfareez commented 3 years ago

Fixed on hotfix release