quran / quran_android

a quran reading application for android
http://android.quran.com
GNU General Public License v3.0
2.01k stars 890 forks source link

Ideas for managing multiple Mushaf versions #1449

Open benomaire opened 4 years ago

benomaire commented 4 years ago

If we have one app for hafs, warsh, qaloon, etc, people may not know about them. If we make different apps, pushing updates to all of them is tedious, and people reading hafs download warsh version and complain about "mistakes" and vice versa.

idea A:

  1. make one common code for all apps.
  2. add a variable flag for the version.
  3. no images are bundled.
  4. now building different apks is just changing the flag. For example, hafs mushaf will have the flag=hafs, and therefore when the app is first downloaded, it shows hafs version automatically.
  5. similarly, in warsh build, the flag=warsh, and after the download from the play store, warsh version loads by default.
  6. all copies of mushaf are available in settings for all builds, but they are arranged according to the flag. So for hafs, all hafs versions are shown, then a button says "more" shows warsh qaloon, etc.
  7. switching version obviously changes the available reciters.
  8. May be all builds have the same title "quran" on the home page, but show the rewayah like "quran - warsh" in play store.

idea B:

  1. Ask the user on first use about one favourite reciter, if عمر القزابري is chosen for example when the hafs build is downloaded, the app says "عمر القزابري is reciting warsh and this is hafs version, do you want to use warsh mushaf?"
  2. If idea A is implemented, just switch mushaf type. If not direct the user to warsh version on play store.
  3. Probably, avoid listing الحصري, عبدالرشيد صوفي since they have recordings for multiple riwayat (will not be helpful in deciding if the user downloaded the wrong version)

How does these sound? Any other ideas?

ahmedre commented 4 years ago

btw, idea A already exists today - that's exactly how it is today - just that new Madani, Warsh, Qaloon, etc are not open sourced anymore.

benomaire commented 4 years ago

So if I download Warsh version can I switch to hafs or qaloon pages within warsh app without downloading hafs or qaloon apps? This is what I meant. So warsh version is just "default warsh" but allows qaloon, hafs, etc.

Please ignore the comment if that is what you have for the next update.