EdricChan03 / EdricChan03/studybuddy-android

[Bug] Updater is broken on Android 10+

Open
#386 0 comments 0 reactions 0 assignees View on GitHub
architecture bug help wanted
Dominant language
Kotlin
Stars
23
Forks
9
Avg merge
9h 1m
Merged PRs (30d)
1

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### What happened?

Updater currently doesn't work properly on newer versions of Android

### Expected behaviour

Updater should work properly (i.e. check that the app has perms to request for the installation of packages, be able to download the APK to an appropriate app directory, then open the file in the package installer)

### Reproduction steps

Test the updater on newer versions of Android (10+ due to Scoped Storage changes I believe)

### Application variant

Release, Debug, Nightly

### Application version

All versions

### Application version code

_No response_

### Relevant log output

_No response_

### Possible solution

- Consider saving the downloaded APK to the app's internal storage?
- See how apps that aren't on the Play Store handle in-app updates (e.g. Tachiyomi)

### Additional context

The updater is pretty broken 🤷

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.