commit | 76c07a3aacdcdc583aa3c6c4dfd68780e4bc9ced | [log] [tgz] |
---|---|---|
author | Hans-Christoph Steiner <hans@eds.org> | Tue Aug 09 15:21:01 2016 +0200 |
committer | Hans-Christoph Steiner <hans@eds.org> | Fri Aug 12 11:57:28 2016 +0200 |
tree | 0ae689ce3aa40f751658de10d066524c869f17c7 | |
parent | 5fa2043487c72003b24480feb43f7269d7dd60bb [diff] |
build update.zip in gradle for flashing This adds `gradle updateZipDebug` and `gradle updateZipRelease` for making zips that can flash the priv-ext to a ROM via a Recovery flashing operation which should then mean that it gets priv-app access on Android 5.0+ ROMs. closes #2 closes #3 https://gitlab.com/fdroid/fdroidclient/issues/726
When F-Droid is installed as a normal Android app, installing, updating, and removing apps can only be done by requesting the Android operating system to do this. F-Droid cannot execute this operations on itself. Thus, the operating system shows a screen on every install/update to get confirmation from the user that he/she really wants to install this app. This is a security feature of Android to prevent the installation of malware without user intervention.
The downside for F-Droid is that this prevents us from updating apps in the background, which is an essential feature of a modern package manager.
Here comes the F-Droid Privileged Extension into play. To have the same privileges as other pre-installed package managers, such as Google Play, i.e., installing/updating apps in the background, F-Droid needs so called "privileged permissions". To get these we provide an extension to F-Droid which must be either shipped with your Android distribution/rom or installed into the system.
More information be found in the wiki page.
./gradlew assembleRelease
You can download the extension from our repo.