Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: Online library cannot be retrieved in the Play Store variant. #3994

Merged
merged 16 commits into from
Sep 19, 2024

Commits on Sep 12, 2024

  1. Fixed: Online library cannot be retrieved in the Play Store variant.

    * The issue arose after upgrading the Gradle version of our project (which introduced Android 14). The new Gradle version includes an updated minify tool that excludes SimpleXML attributes from the code. As a result, this error occurred. To resolve this, we added specific rules to the ProGuard file to ensure these attributes are retained in the release variant.
    MohitMaliDeveloper committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    fe2f4a3 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Added test cases to the CI for testing the minified version of the ap…

    …plication to prevent this type of error from happening in the future.
    MohitMaliDeveloper committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    0278fa8 View commit details
    Browse the repository at this point in the history
  2. Improved the DownloadTest to handle cases where pausing the download …

    …may show a complete pause message, such as 'Pause: Waiting for Retry,' which previously caused the test case to fail. The test case has been updated to accommodate this behavior.
    MohitMaliDeveloper committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    8770efd View commit details
    Browse the repository at this point in the history
  3. Fixed: `AndroidXTracer: java.lang.NoSuchMethodError: No static method…

    … forceEnableAppTracing` error in UI test cases.
    MohitMaliDeveloper committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    3ab0dcd View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Added UI to show the progress on fetching online content.

    * Refactored the viewModel code to show the downloading updates, e.g. content is fetching, downloading the online content, etc.
    MohitMaliDeveloper committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    222e868 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90f711b View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Improved the design of showing the downloading progress of online lib…

    …rary.
    
    * Also, disabled the refresh layout so avoid unnecessary calls when a request is already in progress.
    MohitMaliDeveloper committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    c5d0d8a View commit details
    Browse the repository at this point in the history
  2. Improved the fetching and downloading the online library on low bandw…

    …idth.
    
    * Since the online library file is 19MB large and on slow bandwidth devices it takes more time to fetch that file. Our current read timeout is 60 seconds which is not enough for reading this file on slow bandwidth devices. So we have increased it to 180 seconds.
    MohitMaliDeveloper committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    8ebeb4e View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Refactored our code to properly show the downloading online library p…

    …rogress.
    
    * Added a head request to get the library length and showing the progress on behalf of that length.
    * Improved the library loading process: previously, fetching the online library involved making two requests, which not only took more time to get a response from the server but also used twice the bandwidth. To address this, we have refactored our code to ensure that only one request is made at a time.
    * Upgraded the retrofit, and interceptor dependencies to latest version.
    MohitMaliDeveloper committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    10837ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    318ae98 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    476733b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    93fad4d View commit details
    Browse the repository at this point in the history
  5. Increase the call timeout from 1 minute to 3 minutes. Since on slow b…

    …andwidth it cancel the previous ongoing request after 1 minute and retry again which increased the library load time.
    MohitMaliDeveloper committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    098deb1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    61661a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Hiding the refresh layout when no internet connection is available.

    * Hiding the "No internet connection" text when user turn on the internet and previous this text is showing.
    MohitMaliDeveloper committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    386a936 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3cff85 View commit details
    Browse the repository at this point in the history