JunkFood02 / Seal

🦭 Video/Audio Downloader for Android, based on yt-dlp, designed with Material You
GNU General Public License v3.0
11.72k stars 508 forks source link

Incorrent Default App Opening for APK file during Update #1653

Closed sweetpotato-yee closed 2 months ago

sweetpotato-yee commented 2 months ago

Checklist

Describe the bug

Description

After entering the application, I noticed a new release version and pressed the download button. Upon completion of the download, my device open the updated APK file via Termux.

Expected Behavior

I expected the system's app chooser to appear (the "Open with..." dialog), allowing me to select the appropriate application to handle the APK file, specifically the "Package Installer" (formerly known as "Android Application Installer").

Actual Behavior

Instead of the app chooser appearing, the APK file was opened directly with Termux. It seems that certain applications, such as Termux and Terabox, are set to support all types of files, which overrides the system's default behavior and prevents the "Package Installer" from being selected as the default application for handling APK files.

Steps to Reproduce

  1. On a device running Android 6.0, install an application that supports all file types (e.g., Termux).
  2. Install an older version of the Seal application.
  3. Within the Seal application, download the latest update.
  4. Attempt to open the downloaded APK file directly from the Seal application.
  5. Observe that the APK file is not opened with the "Package Installer," and the app chooser is not displayed.

Environment

Possible Solutions

Additional Information

This issue may also affect other apps that are configured to handle all types of files, leading to similar problems with the default app selection.

Please let me know if further details are required or if there are any suggestions for resolving this issue.

Error reports

N/A

Screenshots & Screen Records

No response

Additional context

No response

JunkFood02 commented 2 months ago

You can go to the settings and try clearing your "Default apps" or something that makes the action "open install package" default to termux