Skip to content

Many of us find difficulties to get the correct prayer times in Uppsala specially during the summertime. All the Apps show different times then the Uppsala Mosque. This is because, those Apps calculate prayer times based on other methods which are often not correct in Uppsala. So here is a simple mobile app to show prayer times based on Uppsala,…

Notifications You must be signed in to change notification settings

mail4hafij/react-native-expo-UppsalaBonetiderApp

Repository files navigation

react-native-expo-UppsalaBönetiderApp

Many of us find difficulties to get the correct prayer times in Uppsala specially during the summertime. All the Apps show different times then the Uppsala Mosque. This is because, those Apps calculate prayer times based on other methods which are often not correct in Uppsala. So here is a simple mobile app to show prayer times based on Uppsala, Sweden. The data are already collected. I am exposing those data through an API server written in PHP.

Technology

I am using expo framework to build this simple react-native App. The server side API is written in PHP which is not shared in this repo.

You can access my API server to get the prayer times for today and tomorrow, GET => https://uppsalabonetider.se/api/getPrayerTime/8ade6fdba65a414e87d7791d1f9a2dc6

Ofcourse, you can setup your own API server and return some dummy data as following -

{ "data":
      [["Fajr", "02:00", "02:02"],
       ["Sunrise", "03:00", "03:02"],
       ["Zuhr", "14:00", "14:02"],
       ["Asr", "06:00", "06:02"],
       ["Maghrib", "10:00", "10:02"],
       ["Isha", "11:00", "11:02"]
      ],
  "time: "14:15"
}

You can try it on a real device from expo go client. Find the expo link https://expo.io/@mail4hafij/react-native-expo

Receiving push notification mechanism is implemented in the code. If you want to test push notificaiton try the expo push notificaiton tool here https://expo.io/notifications. You will need to provide expo push notificaiton token which you will find in the console log when a real device is connected to your local expo server.

ENJOY!

Download the APP in Apple App Store and Google Play Store

With extra features the App is now listed both in Google Play Store and Apple App Store. Download the App here

Apple App store: https://apps.apple.com/se/app/uppsala-b%C3%B6netider/id1576197996

Google play store: https://play.google.com/store/apps/details?id=com.mail4hafij.uppsalabonetider

About

Many of us find difficulties to get the correct prayer times in Uppsala specially during the summertime. All the Apps show different times then the Uppsala Mosque. This is because, those Apps calculate prayer times based on other methods which are often not correct in Uppsala. So here is a simple mobile app to show prayer times based on Uppsala,…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published