Skip to content

The app fails to download and install APK updates on Android 9 #414

@D3M-Sudo

Description

@D3M-Sudo

Describe the bug
The app fails to download and install APK updates on Android 9. It reports a Permission denied error when trying to write to the default download directory (/storage/emulated/0/Download/GitHub Store/). In the Android system settings, the app lists "No permissions requested," making it impossible for the user to manually toggle or grant Storage access via the OS interface.

To Reproduce
Steps to reproduce the behavior:

Open GitHub Store v1.7.0.

Go to the 'App' tab.

Click on 'Aggiorna' (Update) for an installed app (e.g., Mihon).

See the red error message: /storage/emulated/0/Download/GitHub Store/... (Permission denied).

Expected behavior
The app should correctly request and handle Storage permissions on Android 9 to save and execute APK files, or provide an internal fallback directory that doesn't require legacy permission toggles.

Desktop (please complete the following information):

OS: Linux Mint (Cinnamon)

Browser: Firefox/Chrome (used for GitHub access)

Version: N/A

Smartphone (please complete the following information):

Device: Samsung Galaxy S8+

OS: Android 9 (Pie)

Version: GitHub Store 1.7.0

Additional context

The system settings for the app do not show any permission requests, which suggests the READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE flags might not be correctly targeted for API 28 (Android 9) in the current manifest.

The "Download directory" configuration option is not visible in the settings UI of version 1.7.0, preventing users from manually redirecting downloads to an accessible internal path like /Android/data/com.rainxch.githubstore/files/.

Workaround verified: Granting permissions manually via ADB using adb shell appops set com.rainxch.githubstore WRITE_EXTERNAL_STORAGE allow resolves the issue, confirming a permission handling conflict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions