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: In Samsung tablet of Android 14, downloaded files can not be opened via file picker or deep linking. #4015

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Oct 8, 2024

  1. Fixed: In Samsung tablet of Android 14, downloaded files can not be o…

    …pened via file picker or deep linking.
    
    * When we open a file from different browsers, they provide a URI through their own file provider, and the content resolver cannot retrieve the file path for these types of URIs. To fix this issue, we have introduced a fallback method that returns the exact path of the file located in the Downloads folder.
    * Another issue we encountered on tablets is that the URIs are different from those on regular mobile devices, and our `documentProviderContentQuery` method could not return the path for these types of URIs from the Downloads folder. To fix this issue, we used our fallback method to retrieve the file path for these URIs.
    MohitMaliDeveloper committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    363fc6c View commit details
    Browse the repository at this point in the history
  2. Fixed the issue where files would not open on Huawei phones when dire…

    …ctly accessed from the file manager.
    
    * Improved the method for resolving content type URIs to properly return the file path of the selected URI.
    * Refined the code and methods for improved clarity in their operations.
    MohitMaliDeveloper committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    3462941 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d1d5a7f View commit details
    Browse the repository at this point in the history
  4. Improved the getFilePathWithFolderFromUri, and `getFullFilePathFrom…

    …FilePath` methods to properly resolve the other folders uri.
    MohitMaliDeveloper committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    7b273c0 View commit details
    Browse the repository at this point in the history