Installation
Nimaz can be installed in two ways: download from the Google Play Store for the easiest experience, or build from source if you want to customize or contribute to development.Install from Google Play Store
The recommended way to install Nimaz is through the Google Play Store.Check device compatibility
Ensure your Android device is running Android 10 (API 29) or higher. Nimaz supports devices up to Android 15 (API 36).To check your Android version:
- Open Settings on your device
- Scroll down to About phone
- Look for Android version
Download from Play Store
Visit the Google Play Store and search for “Nimaz” or use the direct link:Download Nimaz on Google Play StoreTap Install to download and install the app on your device.
Grant required permissions
When you first open Nimaz, you’ll be guided through an onboarding process that requests necessary permissions:
- Location access - For accurate prayer times and Qibla direction
- Notification permission - To receive prayer time alerts
- Battery optimization exemption - For reliable background notifications
These permissions are optional but highly recommended for the best experience. You can always adjust permissions later in Settings.
Start using Nimaz
Once installation is complete and permissions are granted, proceed to the Quick start guide to set up your prayer times and explore features.
Build from source
Developers and advanced users can build Nimaz from source code.Prerequisites
Before building from source, ensure you have the following installed:- Android Studio (latest stable version recommended)
- JDK 21 - Required for compilation
- Android SDK with API levels 29-36
- Git - For cloning the repository
Clone the repository
Project configuration
The project uses Gradle with Kotlin DSL for build configuration. Key build details:app/build.gradle.kts
Build variants
Nimaz supports two build types:Debug build
For development and testing:Release build
For production deployment: Required environment variables:- ProGuard optimization - Code minification and obfuscation
- Resource shrinking - Removes unused resources
- Debug symbols - For crash reporting (SYMBOL_TABLE level)
Install on device
Once built, install the APK on your device:Open in Android Studio
Alternatively, open the project in Android Studio:Open project
Launch Android Studio and select Open an Existing Project. Navigate to the cloned repository folder.
Connect device or emulator
Connect an Android device via USB (with USB debugging enabled) or start an Android emulator with API 29 or higher.
Dependencies
Nimaz uses the following major libraries:| Library | Purpose |
|---|---|
| Jetpack Compose | Modern declarative UI framework |
| Hilt | Dependency injection |
| Room | Local database for offline data |
| DataStore | Preferences storage |
| Adhan | Prayer time calculations |
| WorkManager | Background tasks and scheduling |
| Glance | Home screen widgets |
| Media3 ExoPlayer | Audio playback for Quran |
| CameraX | Camera access for AR Qibla |
| Play Services Location | Location services |
| Play In-App Update | In-app update notifications |
| AboutLibraries | Open source license information |
Troubleshooting
Build fails with “Unable to locate SDK”
Ensure the Android SDK is properly installed and theANDROID_HOME environment variable is set:
Compilation error with Java version
Nimaz requires JDK 21. Verify your Java version:- Go to File > Project Structure
- Under SDK Location, set the JDK location to JDK 21
App crashes on launch after building
If the app crashes immediately after installation:- Check Logcat in Android Studio for error details
- Verify your device meets the minimum API level (29)
- Ensure all required permissions are granted
- Try uninstalling and reinstalling the app