trkpt/app/src/main/AndroidManifest.xml

67 lines
2.8 KiB
XML
Raw Normal View History

2016-08-29 12:50:41 +00:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.y20k.trackbook">
2018-02-21 10:47:09 +00:00
<!-- EXCLUDE NON-GPS DEVICES -->
<uses-feature android:name="android.hardware.location.gps" android:required="true" />
2016-08-29 12:50:41 +00:00
<!-- NORMAL PERMISSIONS, automatically granted -->
2018-03-15 11:11:04 +00:00
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
2016-08-29 12:50:41 +00:00
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
2018-03-10 21:32:14 +00:00
<uses-permission android:name="android.permission.VIBRATE" />
2016-08-29 12:50:41 +00:00
<uses-permission android:name="android.permission.INTERNET" />
<!-- DANGEROUS PERMISSIONS, must request -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:name=".Trackbook"
2016-08-29 12:50:41 +00:00
android:allowBackup="true"
android:fullBackupContent="@xml/backupscheme"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/TrackbookAppTheme">
<!-- MAIN ACTIVITY -->
<activity
android:name=".MainActivity"
android:label="@string/app_name"
2017-11-28 21:02:45 +00:00
android:theme="@style/TrackbookAppTheme"
2017-05-17 13:43:53 +00:00
android:resizeableActivity="true"
2016-09-07 10:30:46 +00:00
android:launchMode="singleTop">
2016-08-29 12:50:41 +00:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<!-- TODO App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent filter. See issue explanation for more details. -->
2016-08-29 12:50:41 +00:00
</activity>
2017-11-28 21:02:45 +00:00
<!-- TRACKER SERVICE -->
2016-08-29 12:50:41 +00:00
<service
android:name=".TrackerService"
android:exported="false">
<intent-filter>
<action android:name="org.y20k.trackbook.action.START" />
<action android:name="org.y20k.trackbook.action.STOP" />
<action android:name="org.y20k.trackbook.action.DISMISS" />
2016-08-29 12:50:41 +00:00
</intent-filter>
</service>
<!-- EXPORT HELPER (FILE PROVIDER) -->
<provider
android:name=".helpers.ExportHelper"
android:authorities="org.y20k.trackbook.exporthelper.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider>
2016-08-29 12:50:41 +00:00
</application>
</manifest>