Be Muslim Documentation

Be Muslim - ChatGPT Open AI Android and iOS App

Be Muslim is a complete Android and iOS App of Prayer Time | Dua and Tasbeeh Counter | Sahari and Iftar Time | Qibla Finder. The best Be Muslim app to remain a proud and respectful Muslim and maintain your connection with Allah! Salah times are prayer times when Muslims perform salah. The term is primarily used for the five daily prayers including the Friday prayer, which takes the place of the Dhuhr prayer and must be performed in a group of worshippers. Muslims believe the salah times were taught by Allah to Muhammad. Tasbeeh Counter is a digital tasbih app to help all Muslims to do dhikr anytime. This zikr counter and tasbeeh counting app is a full-featured Ramadan Muslims app including Ramadan Dua. A Qibla compass or qiblah compass is a modified compass used by Muslims to indicate the direction to face to perform prayers. If you want this type of Islamic mobile app. So it is perfect for you. It has also Google AdMob included, which is help to passive income. Get this software license for entrepreneurs and start-ups. Our main goal is to provide software to entrepreneurs at a low cost.

Setup Environment

  1. Android Studio/VS Code: To customised this project you should have Flutter and Dart installed and configured effectively on your device Install Flutter Set up your editor Install the Flutter and Dart Plugins.
  2. Java (JDK): Install java jdk version - 11(LTS) according to your os system.
  3. Dart (SDK): Install the latest stable version of Dart SDK >=2.19.4 - 3.0.0
  4. Flutter (SDK): To configure this project you have to install flutter - 3.7.7
  5. nb
  6. Unzip the flies folder and open it. There have source code name as Be Muslim-app, then use your preferred IDE (Android Studio / Visual Code / IntelliJ) to open the project.
Please run this command:
                                flutter pub get
                            

Setup Firebase

Follow the below steps to add your flutter app to firebase: We are going to add our flutter app to firebase using Firebase CLI but Firebase CLI needs node js to work on the operating system.

Setup App

  1. App Name Change: Go to /lib/utils/strings.dart file and replace with own information, which you want to update.
  2. app
  3. Logo/Icon Change: Go to /assets/ file and replace all image assets with keep the file name same.
  4. app
  5. Setup Radio URL: Go to Firebase Console and Open Firestore Database, then click on +Start Collection and make Collection ID name as "radio" and click on Next button.
  6. app app app Final result will look like that, app
  7. Package Name and App Laucnher Name-Icon Change: Go to /pubspec.yml/ file and put your luncher icon path and app name.
  8. app Please run all command:
                                            flutter pub get
                                            
    flutter pub run flutter_app_name
                                            flutter pub run flutter_launcher_icons
                                        
                                            flutter pub run change_app_package_name:main com.new.package.name
                                        
    Where com.new.package.name is the new package name that you want for your app. replace it with any name you want.
  9. Please try to use real device for installing app, sometimes it's not run emulator/simulator

Setup Admob

  1. Go to Google AdMob and login with your Gmail account.
  2. Create your admob project for Android and iOS both apps and collect app id, banner id and interstitial id.
  3. Then open AndroidManifest.xml file and replace the app id according to your AdMob App ID.
  4. admob
  5. Then open info.plist file and replace the app id according to your AdMob App ID.
  6. admob
  7. And change with your real AdMob Ad ID
  8. admob

Setup Payment Gateway

  1. Paypal Payment Setup: Go to /lib/screens/payment_method/paypal_services.dart file and replace with own information "clientId and secret".
  2. payment

Build & Run:

Run the Android Application:

  1. In the target selector, select an Android device for running the app. If none are listed as available, select Tools> Android > AVD Manager and create one there. For details, see Managing AVDs. Click the run icon in the toolbar, or invoke the menu item Run > Run. Locate the main Android Studio toolbar:
  2. If you don't use Android Studio or IntelliJ you can use the command line to run your application using the following command:
  3.                                         flutter run
                                        
    build

Run the iOS Application:

  1. The first thing that we require in hand is a test flutter app on our Mac
  2. Before we start testing our flutter app on the iPhone you need to make sure that our phone trusts us as a developer on that device. To do that follow this path go:
  3.                                         Settings > General > Device Management or Profile > (Tap On) Trust “Your Developer Name”
                                        
  4. To test or deploy our flutter app to a physical device we first need to enable physical device deployment in Xcode using Apple ID or an Apple Developer account. And we also need to set up a package manager to manage flutter plugins that are to be used in the project.
  5. First, we are going to install a third-party package manager called CocoaPods to manage flutter plugins that our project might depend on. To install and set up cocoapod the below command needs to be executed successfully in the terminal.
  6.                                         $ sudo gem install cocoapods
                                        
    build
  7. After we are done with the cocoapod installation we will proceed to locate the Runner.xcworkspace file inside the ios folder in our project directory. Then we need to open this file on the Xcode with a double click. OR write command
  8.                                         $ open ios/Runner.xcworkspace
                                        
    build
  9. When it’s done loading we need to make sure we are on the Runner file which is listed first on the left menu bar.
  10. build
  11. After that, we need to be inside the Signing & Capabilities page. In this page we will click on the button which says ‘Add an Account’.
  12. build
  13. And add your Apple ID, put your password and select your account.
  14. build
  15. Now, go back to the General tab and change the Bundle Identifier to something unique. (In place of “example” put something else).
  16. build
  17. So, if you haven’t already connected your iPhone you will see “No device” in the search bar shown below.
  18. build
  19. Go ahead and connect your phone with the PC and when it’s done you will see a phone icon in place of “No device”. Select your phone which will take a few seconds to load.
  20. build
  21. And once that is done you need to press the play button on the left menu bar, which will start building the app on the iPhone
  22. build
  23. This process will take some time and once it’s done you will see a message appear that says the build process was completed successfully.
  24. build

Install And Release Android App:

Here is your section structure.

  1. After you make all your changes and customizations save all your project, Open the console, navigate to your project folder and execute the following command to build your app:
  2.                                         flutter build apk --release
                                        
  3. If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.

Build and Install App:

  1. To generate an app bundle, run:
  2.                                         flutter build appbundle --target-platform android-arm,android-arm64,android-x64
                                        
    Learn more on https://developer.android.com/guide/app-bundle
  3. To split the APKs per ABI, run:
  4.                                         flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
                                        
    Learn more on https://developer.android.com/studio/build/configure-apk-splits#confi
  5. If you want to upload your application on Google Play you must sign it before uploading, generate a signing key by running the following command:
  6.                                         keytool -genkey -v -keystore android/app/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key
                                        
  7. Reference the keystore from the app: Create a file named appdir/android/key.properties that contains a reference to your keystore:
  8.                                         storePassword=password from previous step 
    keyPassword=password from previous step
    keyAlias=key
    storeFile=location of the key store file, e.g. /Users/user name/key.jks
  9. Go to android/app/build.gradle
  10.                                         def keystorePropertiesFile = rootProject.file("key.properties")
    def keystoreProperties = new Properties()
    keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

    • signingConfigs {
        release {
          keyAlias keystoreProperties['keyAlias']
          keyPassword keystoreProperties['keyPassword']
          storeFile file(keystoreProperties['storeFile'])
          storePassword keystoreProperties['storePassword']
        }
      }
    • buildTypes {
        release {
         signingConfig signingConfigs.release
        }
      }
  11. Learn More: Build and release an Android app
  12. After approved android app on PlayStore, go to inside app console Setup>App Integrity>App Signing and copy SHA-1 certificate fingerprint & SHA-256 certificate fingerprint, then paste it on firebase project and click on Save button
  13. android android android

Install And Release iOS App:

Before you can build and release your app on the App Store, you need to set up a place for it using App Store Connect. But first, you need to register a unique bundle ID for your app. This can be done by logging into your Apple Developer account and following these steps:

  1. Login to AppStore Conscole Account Click Here
  2. Open the App IDs page.
  3. Click + to create a new Bundle ID.
  4. Fill out the needed information: App Name, and Explicit App ID.
  5. If your app needs specific services, select them and click Continue.
  6. Review the details and click Register to finish.
  7. Then go to account dashboard Select My Apps.
  8. Click + then select New App.
  9. Fill in your app details and make sure iOS is selected, then click Create.
  10. From the sidebar, select App Information.
  11. In the General Information section, select the Bundle ID that you registered above.
  12. You’ve set everything up from Apple’s side, and next you’ll adjust your Xcode project’s settings to prepare your app for release. Go ahead and fire up Xcode.
  13. Open Runner.xcworkspace that is inside your app’s iOS folder.
  14. From the Xcode project navigator, select the Runner project.
  15. Go to the General tab.
  16. In the Identity section, fill out the information and make sure the Bundle Identifier is the one registered on App Store Connect.
  17. In the Signing section, make sure Automatically manage signing is checked and select your team
  18. Fill out the rest of the information as needed.
  19. Next, you’ll update your app’s icon. This can be done by selecting Assets.xcassets in the Runner folder from Xcode’s project navigator.
  20. At this point, all the settings have been updated for release and there is a placeholder ready on App Store Connect, which means you can build and release.
  21. From the command line, run flutter build ios
  22. Then go back to Xcode and reopen Runner.xcworkspace
  23. Select Product -> Scheme -> Runner
  24. Select Product -> Destination -> Generic iOS Device.
  25. Select Product -> Archive to produce a build archive.
  26. From the Xcode Organizer window, select your iOS app from the sidebar, then select the build archive you just produced.
  27. Click the Validate… button to build.
  28. Once the archive is successfully validated, click Upload to App Store
  29. Back on App Store Connect, check the status of your build from the Activities tab. Once it’s ready to release:
  30. Go to Pricing and Availability and fill out the required information.
  31. From the sidebar, select the status.
  32. Select Prepare for Submission and complete all required fields.
  33. Click Submit for Review
  34. Learn More: Build and release an iOS app
  35. That’s it! Your app will now be uploaded to the App Store. Apple will review your app before releasing and keep you updated on the status of your app.
  36. After uploading ios app on AppStore, go to inside app console App Information>Apple ID and copy, then paste it on firebase project
  37. ios

Support

Once again, thank you so much for purchasing this app. As I said at the beginning, I'd be glad to help you if you have any questions relating to this app. Just let us know, We will assist you. Contact us at support center.

Email Us : [email protected]

[N.B. For this project, you have to follow our documentation where we noted the requirements. if you face any kind of problems or fail to configure this project, then we are not responsible for this situation. after that, if you want to configure this project by us then you will have to pay for that installation charge. Thank You.]