Skip to content

OneAboveAll1964/My-Prayers-React-Native-Test

Repository files navigation

My Prayers — Demo App

A demo React Native app showcasing all features of the @shkomaghdid/react-native-prayer-times package.

Demo

demo.mp4

Features

  • Prayer Times — view daily prayer times with 7 calculation methods
  • Location Services — search, geocode, and reverse-geocode cities offline
  • Azkars — browse Hisnul Muslim categories, chapters, and items
  • 99 Names of Allah — with translations and transliterations
  • Multi-language — switch between English, Arabic, Kurdish, Farsi, and Russian

Prerequisites

  • Node.js >= 22
  • React Native development environment (setup guide)

Setup

# 1. Install dependencies
npm install

# 2. Link the database asset into native projects
npx react-native-asset

# 3. (iOS only) Install CocoaPods
cd ios && pod install && cd ..

Run

# Android
npm run android

# iOS
npm run ios

Important Notes

  • Android New ArchitecturenewArchEnabled is set to false in android/gradle.properties because op-sqlite doesn't fully support the TurboModule interop layer yet.
  • Package@shkomaghdid/react-native-prayer-times is installed from npm.
  • Database — The SQLite database is in android/app/src/main/assets/custom/muslim_db_v3.0.0.db (placed by npx react-native-asset).

Project Structure

MyPrayersTest/
├── App.tsx                          # Main app — DB init + tab navigation
├── src/
│   ├── components/
│   │   ├── TabBar.tsx               # Bottom tab bar
│   │   ├── Card.tsx                 # Reusable card component
│   │   └── ScreenHeader.tsx         # Screen header with optional back button
│   ├── screens/
│   │   ├── PrayerTimesScreen.tsx    # Prayer times + method picker
│   │   ├── LocationScreen.tsx       # Search / geocode / reverse geocode
│   │   ├── AzkarsScreen.tsx         # Categories → chapters → items
│   │   └── NamesOfAllahScreen.tsx   # 99 Names list
│   └── theme.ts                     # Colors, spacing, fonts
├── metro.config.js                  # Metro configuration
└── package.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors