Skip to content

Releases: bookdash/bookdash-android-app

Release-2.9.4

12 Feb 15:20
371bcb8
Compare
Choose a tag to compare

🚀 Android 15 (API 35) Upgrade & Firebase Storage Refactor

What's New?
This PR modernizes the project by updating dependencies and ensuring compatibility with Android 15 (API 35) while improving image loading performance.

Changes & Improvements
✅ Upgraded project to target Android 15 (API 35).
✅ Updated Glide to the latest stable version for better image handling.
✅ Removed outdated com.firebaseui:firebase-ui-storage:6.1.0.

This was necessary due to incompatibility with API 35.
Since FirebaseStorageReference can no longer be used for loading images, a new approach was implemented.
New Utility Class: StringUtils
📌 Purpose: Converts gs:// Firebase Storage URLs into standard HTTP URLs for seamless image loading.
📌 Key Implementation:

public static String convertGsUrlToHttp(String gsUrl) { 
    if (gsUrl == null || !gsUrl.startsWith("gs://book-dash.appspot.com/")) { 
        return null; 
    } 
    String path = gsUrl.substring("gs://book-dash.appspot.com/".length()); 
    try { 
        String encodedPath = URLEncoder.encode(path, StandardCharsets.UTF_8.toString()); 
        return String.format("https://firebasestorage.googleapis.com/v0/b/book-dash.appspot.com/o/%s?alt=media", encodedPath); 
    } catch (UnsupportedEncodingException e) { 
        Timber.tag("URLConversion").e(e, "Failed to encode URL"); 
        return null; 
    } 
}

Refactored Classes
The following classes were updated to use StringUtils instead of FirebaseStorageReference:
🔹 BookAdapter
🔹 DownloadsAdapter
🔹 BookInfoActivity
🔹 MyGlideModule

Why This Matters
🚀 Future-Proofing: Ensures the project stays compatible with the latest Android version.
⚡ Improved Performance: More efficient image loading without relying on deprecated Firebase UI components.
🔧 Code Maintainability: Uses a simple, reusable utility method for Firebase Storage URLs.

What's Changed

Full Changelog: Release-2.9.3...Release-2.9.4

Release-2.9.3

27 Aug 10:50
4025287
Compare
Choose a tag to compare

Updates

  • Android 14: TargetSDK -> 34
  • Gradle updates

What's Changed

Full Changelog: Release-2.9.2...Release-2.9.3

Firebase, TargetSDK and bugs

29 May 08:45
992938d
Compare
Choose a tag to compare

Updates:

  1. Firebase updates
  2. Crashlytics updates
  3. UI Updates
  4. Book download issue fixed
  5. TargetSDK -> 33
  6. Copyright 2023 Book Dash

Bug Fixes and Android X Upgrades

15 Jan 13:39
82e1764
Compare
Choose a tag to compare

Android X Upgrades
Firebase Invite removal
Bug fixes

Including FIrebase Perf and updated libraries of things

17 Feb 20:40
Compare
Choose a tag to compare
Release-2.7.0

Finish Release-2.7.0

Release-1.1.2

02 May 08:54
Compare
Choose a tag to compare
Finish Release-1.1.2

v1.1.0

24 Apr 10:01
Compare
Choose a tag to compare

Added the ability to delete a download
Some UI Tweaks
Some bug fixes.

v1.0.13

07 Feb 09:06
Compare
Choose a tag to compare

Bug fix for crash on Book Information.

v1.0.12 - Side Navigation

03 Jan 16:53
Compare
Choose a tag to compare

Added ability to see downloaded books.
Added option to invite friends with Google Play Services Invites
Sharing of books added
Some bug fixes.

Fixed issue with Downloads

30 Nov 18:25
Compare
Choose a tag to compare

Download of books was causing issues if clicking the button twice.
Also up'ed the version of the parse library which fixes a couple of issues that I experienced.
Some UI Tweaks.