Skip to content

Releases: liweiyap/narradir-android

v5.3

21 Aug 18:51
Compare
Choose a tag to compare
  • Target Android 14.
  • Upgrade dependency libraries.
  • Fix potential crash when starting new Activity (web browser or dependency software license info).
  • Improve wording in Help section.
  • Minor update to privacy policy.

v5.2

14 Feb 07:38
Compare
Choose a tag to compare
  • Restrict maximal Fragment container width to 840 dp, improving UX on foldables, tablets, and Chromebooks.
  • Update gradle.properties by adding android.nonTransitiveRClass=true and removing android.enableJetifier=true. Reduces build time.

v5.1

24 Jan 23:18
Compare
Choose a tag to compare
  • Fix NPE when starting app from background at PlayIntroductionFragment
  • Reduce burden on run-time memory/storage by popping off back stack up to destination fragment inclusive when switching between Avalon and SH character selection fragments

v5.0

12 Jan 23:05
Compare
Choose a tag to compare
  • Add countdown 'timer' to pause duration text in PlayIntroductionFragment.
  • Add dependency software info to credits.
  • Add stateListAnimator.
  • Add missing Minion character image.

Migrate app from Java to Kotlin

04 Jan 13:43
Compare
Choose a tag to compare

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

28 Dec 19:37
d8cf08e
Compare
Choose a tag to compare

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

13 Dec 22:31
Compare
Choose a tag to compare

Also target Android 13

Multiple improvements

29 Jan 11:11
Compare
Choose a tag to compare

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

25 Jun 04:00
Compare
Choose a tag to compare
  • Bugfixes (background sound bug in PlayIntroductionActivity; misaligned liberal5Button in SecretHitlerCharacterSelectionActivity; simple bug in ToastSingleton)
  • Major refactoring: new classes added (AvalonCharacterSelectionRules, AvalonControlGroup, SecretHitlerCharacterArray, SecretHitlerControlGroup, ClickSoundGenerator, CharacterDescriptionMediaPlayer, BackgroundSoundTestMediaPlayer, LifecycleActivityResultObserverListener, IntroAudioPlayer, IntroSegmentDictionary, and PlayerNumberDictionary).
  • 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.

09 May 06:58
Compare
Choose a tag to compare
  • Updated logic in CheckableObserverImageButton to set BackgroundResource instead of ImageResource. Reduced no. of images in AvalonCharacterSelectionActivity by 50%.
  • Added the following classes during refactoring:
    • ViewGroupSingleTargetSelector
    • ToastSingleton
    • BackgroundSoundDictionary
    • TimeDisplay
    • MediaSourceCreator