Releases: quran/quran_android
Quran 2.9.4-p2
tldr; this release should actually fix the ANR in sha' Allah by properly handling media buttons.
the longer version - there were plenty of ANRs happening due to calling startForegroundService
on the AudioService
without actually going in the foreground. across many releases, various fixes were made to try to fix this (both fixing many potential performance issues, making sure the service started sooner, and dropping the startForegroundService
call from all services and calling startService
instead for all of them (since the app was always in the foreground at the time anyway). none of these actually fixed the problem, and the ANR remained the same, despite not having any startForegroundService
calls in the app.
it turns out that MediaButtonReceiver
handles a media button press by starting a foreground service. this is actually perfectly consistent with the ANR - 1. it happens when starting AudioService
in the foreground as the ANR message suggests, and 2. the app, in fact, never went to the foreground except for ACTION_PLAYBACK
events.
Quran 2.9.4-p1
- make the
DownloadService
start as a background service (#1135).
Quran 2.9.4
Quran 2.9.3-p2
This release tackles some audio playback related issues that are likely causing ANRs.
- Don't set the state to
State.Playing
untilstart()
is called on theMediaPlayer
. This is important because not doing so allows calls to pause, next, and previous to go through, all of which are illegal beforeMediaPlayer
's started state is reached. Consequently, these cause an error to be thrown, which kills the foreground notification, which could be a cause of ANRs due to starting the foreground service without starting foreground (#1113). - Any new play request now always overrides the previous play request (#1114). This is just good practice, though it doesn't have any effect except simplifying the code, especially considering the next point.
- Block the toolbar from playing when loading is in progress (#1116).
Quran 2.9.3-p1
AudioService
runs most logic off the ui thread now- starting a foreground service should be a bit faster now
- various bug fixes around checking for existing files
Quran 2.9.3
mostly a bug fix release.
- force complete sura names #1002 (jazakAllah khairan @fikr4n)
- normalize sura names #883 (jazakAllah khairan @fikr4n)
- fix a plethora of highlighting issues #1098
- fix 9:1 starting with sura name #1105
- foreground service improvements #1099
- better translation list handling #1100 and #1104
- improve logging to help debug when people lose their images #1102 and #1103
- fix dual page translations not working #1090
Quran 2.9.2-p3
- fix a bug causing downloaded Arabic tafaseer to immediately disappear
- write code to fix people's devices stuck in that wrong state (the tafseer would be downloaded and would render, but wouldn't appear in the lists of available tafaseer and wouldn't use its capabilities (ayah highlighting, etc) unless the person visited the translation screen again and left it).
Quran 2.9.2-p2
- fix sharing when Arabic database doesn't exist
- fix tags being broken
- fix some bugs around translation updating
- bundle updated Arabic databases with the app
Quran 2.9.2-p1
- update search for Arabic to only search the Quran and not the tafaseer (for now)
- fix sharing of translation sharing metadata with the text
- fix a crash when searching with no Arabic database
- fix downloading of Arabic database from search
- show a message to go to translations if no translation databases are around
- fix a few additional bugs
Quran 2.9.2
- use Uthmani text for verses in tafseer view and for shared text
- many improvements to Arabic tafaseer
- option to choose what to play on pages with multiple suras
- improvements to speed of rendering for new madani page ayah markers
- support streaming for gapless qaris
- fix a bug where pages might be partially downloaded
- fix bugs with audio playback in landscape
- many other bug fixes and improvements