mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Android: hardcode permissions and don't ask for features
That seems to be the way to force it to not request FINE_LOCATION or GPS access. If I leave this on 'auto' then the dependency on QtPositioning (for showing the map) appears enough for it to claim access to GPS location. I no longer want to deal with the Google Play police for that. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e454669215
commit
2bb88a354f
1 changed files with 11 additions and 3 deletions
|
@ -91,14 +91,22 @@
|
||||||
<!--
|
<!--
|
||||||
The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
|
The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
|
||||||
Remove the comment if you do not require these default permissions.
|
Remove the comment if you do not require these default permissions.
|
||||||
-->
|
%% no space here INSERT_PERMISSIONS
|
||||||
<!-- %%INSERT_PERMISSIONS -->
|
|
||||||
|
|
||||||
|
this always requests FINE_LOCATION which I no longer want to deal with - so instead manually request what we know we need.
|
||||||
|
stupidly COARSE LOCATION appears to be necessary for BLE
|
||||||
|
-->
|
||||||
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||||
|
<uses-permission android:name="android.permission.BLUETOOTH" />
|
||||||
|
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
The following comment will be replaced upon deployment with default features based on the dependencies of the application.
|
The following comment will be replaced upon deployment with default features based on the dependencies of the application.
|
||||||
Remove the comment if you do not require these default features.
|
Remove the comment if you do not require these default features.
|
||||||
-->
|
-->
|
||||||
<!-- %%INSERT_FEATURES -->
|
<!-- %% no space here INSERT_FEATURES -->
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|
Loading…
Add table
Reference in a new issue