Skip to content

Joss Music v1.8.8

Latest
Compare
Choose a tag to compare
@josprox josprox released this 07 Feb 23:41
· 2 commits to dev since this release

New Version Release

In this new version of the app, several key improvements and fixes have been implemented to ensure better performance and compliance with the latest Google Play policies and Android 14+ restrictions.

Key Changes:

  1. Android 14+ Compatibility:

    • The logic for starting foreground services has been updated to comply with Android 14 restrictions. Now, FOREGROUND_SERVICE_MEDIA_PLAYBACK is used instead of FOREGROUND_SERVICE, ensuring proper music service operation in compliance with Google Play's guidelines.
  2. Service Lifecycle Management:

    • A tracking variable (isServiceBound) has been added to ensure the service is only unbound when it's actually bound, preventing the Service not registered error when trying to unbind an unregistered service.
  3. System Bar Management (Status Bar and Navigation Bar):

    • Improved handling of system bars in Android 14+, utilizing WindowInsetsController for more efficient control of status and navigation bars.
  4. Foreground Notification Fix:

    • Ensured that the foreground notification for music playback is correctly handled in recent Android versions (Android 14+). The app now checks for the appropriate permission before starting the foreground service.
  5. Background Service Permission Management:

    • Added permission checks for FOREGROUND_SERVICE_MEDIA_PLAYBACK to ensure the app correctly requests and uses necessary permissions on Android 14+ before starting the foreground service.

Additional Technical Details:

  • Added the FOREGROUND_SERVICE_MEDIA_PLAYBACK permission to the AndroidManifest.xml to comply with Google Play's policies for music apps.
  • Fixed several issues related to service binding and unbinding, preventing IllegalArgumentException errors.

Full Changelog: V1.8.6...V1.8.8