accrescent icon indicating copy to clipboard operation
accrescent copied to clipboard

Add support for app archiving

Open lberrymage opened this issue 1 year ago • 1 comments

lberrymage avatar Jan 31 '24 01:01 lberrymage

App archiving is now natively supported in Android 15, no longer needing archived APKs generated by bundletool. This makes implementation for us significantly easier. Instead, the app store client just needs to handle, at a minimum, the UNARCHIVE_PACKAGE intent filter action when the user unarchives an app from Settings.

Noted from the F-Droid patch mentioned in this Android Authority article.

~It appears as if archiving from within Accrescent itself is not supported because PackageInstaller.installArchived() requires INSTALL_PACKAGES, which is a privileged permission.~

We also should implement support for archiving from within Accrescent itself using PackageInstaller.requestArchive().

Since the implementation needed for native app archiving is now only client-side, transferring this issue to the Accrescent client repository. App archiving support for Android versions lower than 15 is no longer planned for now.

lberrymage avatar Oct 16 '24 20:10 lberrymage

Archiving from within Accrescent itself is no longer planned for now. See https://github.com/accrescent/accrescent/issues/617#issuecomment-3439317067.

lberrymage avatar Oct 23 '25 21:10 lberrymage