Releases: liweiyap/narradir-android
Releases · liweiyap/narradir-android
v5.3
v5.2
v5.1
v5.0
Migrate app from Java to Kotlin
Also includes the following bugfixes:
- No need for players to extend their hands into a fist when Merlin is not active.
- Reverse the arrow direction in back capsule button for RTL locales.
- String literal integer in pause duration text in PlayIntroductionFragment should be formatted in US Locale too.
- Preferences now saved in individual Settings Fragments (One Night Ultimate App has already been updated accordingly at some prior unknown time-point), thus fixing bug for 'Don't show again' in Snackbar.
Migration to single-Activity with multiple Fragments
Incorporate Android Navigation Component, migrating app architecture to single-Activity with multiple Fragments and adding a ViewModel.
- This change fixes the bug where the click sound is sometimes cut off halfway during transitions between different screens.
- This change should increase the speed of transitions between different screens.
Add support for tablets
Also target Android 13
Multiple improvements
Additions / Upgrades / General updates
- Add in-app version of Privacy Policy to comply with new rules in Google Play store.
- Bump target Android version to Android 12. Bump Gradle build tool version and fix potential crash due to non-constant resource IDs.
- Migration from Toasts to Snackbars. This fixes a library leak on some devices.
- Add support for autosizing of TextViews according to device settings.
- Add support for Auto Backup of app settings.
- Update overall colour scheme and transparency values for better colour contrast ratios.
Changes in app behaviour
- Device display now kept switched on only on the narration screen or when audio is being played.
- Volume control buttons in app settings no longer stop the background sound-check MediaPlayer if the latter is already playing.
Bug fixes:
- Fix bug in 5-player Avalon where Percival is sometimes unintentionally active without either Morgana or Mordred following specific sequences of button clicks.
- Fix Samsung library leak on some older (Android 7.0) devices.
- Fix display flicker during navigation on some newer devices.
Further bugfixes, shrinking, and refactoring
- Bugfixes (background sound bug in
PlayIntroductionActivity
; misalignedliberal5Button
inSecretHitlerCharacterSelectionActivity
; simple bug inToastSingleton
) - Major refactoring: new classes added (
AvalonCharacterSelectionRules
,AvalonControlGroup
,SecretHitlerCharacterArray
,SecretHitlerControlGroup
,ClickSoundGenerator
,CharacterDescriptionMediaPlayer
,BackgroundSoundTestMediaPlayer
,LifecycleActivityResultObserverListener
,IntroAudioPlayer
,IntroSegmentDictionary
, andPlayerNumberDictionary
). - Convert PNGs and JPEGs to WebP format.
- Enable code shrinking, obfuscation, and optimization in Gradle.
- Remove calls to deprecated
startActivityForResult()
function. - Upgrade version of ExoPlayer dependency.
Shrunk APK size and refactored code.
- Updated logic in
CheckableObserverImageButton
to setBackgroundResource
instead ofImageResource
. Reduced no. of images inAvalonCharacterSelectionActivity
by 50%. - Added the following classes during refactoring:
ViewGroupSingleTargetSelector
ToastSingleton
BackgroundSoundDictionary
TimeDisplay
MediaSourceCreator