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"
|
2020-08-01 00:06:53 +00:00
|
|
|
package="org.y20k.trackbook">
|
2016-08-29 12:50:41 +00:00
|
|
|
|
2020-01-02 17:00:37 +00:00
|
|
|
<!-- USE GPS AND NETWORK - EXCLUDE NON-GPS DEVICES -->
|
2020-08-03 09:13:25 +00:00
|
|
|
<uses-feature android:name="android.hardware.location.gps" android:required="true" />
|
2020-01-02 17:00:37 +00:00
|
|
|
<uses-feature android:name="android.hardware.location.network" />
|
2018-02-21 10:47:09 +00:00
|
|
|
|
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" />
|
2021-05-17 13:44:11 +00:00
|
|
|
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" />
|
2016-08-29 12:50:41 +00:00
|
|
|
|
|
|
|
<application
|
2020-08-01 00:06:53 +00:00
|
|
|
android:name=".Trackbook"
|
|
|
|
android:allowBackup="true"
|
|
|
|
android:icon="@mipmap/ic_launcher"
|
|
|
|
android:label="@string/app_name"
|
|
|
|
android:supportsRtl="true"
|
|
|
|
android:theme="@style/AppTheme">
|
2020-01-02 17:00:37 +00:00
|
|
|
|
2020-01-27 17:22:44 +00:00
|
|
|
<!-- MAIN ACTIVITY -->
|
2020-01-02 17:00:37 +00:00
|
|
|
<activity android:name=".MainActivity">
|
2016-08-29 12:50:41 +00:00
|
|
|
<intent-filter>
|
2020-08-01 00:06:53 +00:00
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
2016-08-29 12:50:41 +00:00
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2017-11-28 21:02:45 +00:00
|
|
|
<!-- TRACKER SERVICE -->
|
2016-08-29 12:50:41 +00:00
|
|
|
<service
|
|
|
|
android:name=".TrackerService"
|
2020-08-03 09:13:25 +00:00
|
|
|
android:foregroundServiceType="location"
|
|
|
|
android:exported="false">
|
2016-08-29 12:50:41 +00:00
|
|
|
<intent-filter>
|
2017-01-19 12:36:49 +00:00
|
|
|
<action android:name="org.y20k.trackbook.action.START" />
|
|
|
|
<action android:name="org.y20k.trackbook.action.STOP" />
|
2017-08-15 08:23:03 +00:00
|
|
|
<action android:name="org.y20k.trackbook.action.DISMISS" />
|
2016-08-29 12:50:41 +00:00
|
|
|
</intent-filter>
|
|
|
|
</service>
|
|
|
|
|
2020-01-27 17:22:44 +00:00
|
|
|
<!-- TRACKING TOGGLE SERVICE SYSTEM QUICK SETTINGS -->
|
|
|
|
<service
|
|
|
|
android:name=".TrackingToggleTileService"
|
2020-08-01 00:06:53 +00:00
|
|
|
android:label="@string/quick_settings_tile_title_default"
|
2020-08-03 09:13:25 +00:00
|
|
|
android:icon="@drawable/ic_notification_icon_small_24dp"
|
2020-01-27 17:22:44 +00:00
|
|
|
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.service.quicksettings.action.QS_TILE" />
|
|
|
|
</intent-filter>
|
|
|
|
</service>
|
2020-01-02 17:00:37 +00:00
|
|
|
|
2020-01-27 17:22:44 +00:00
|
|
|
<!-- FILE PROVIDER GPX -->
|
2018-05-28 15:56:38 +00:00
|
|
|
<provider
|
2020-08-01 00:06:53 +00:00
|
|
|
android:name="androidx.core.content.FileProvider"
|
|
|
|
android:authorities="${applicationId}.provider"
|
|
|
|
android:exported="false"
|
|
|
|
android:grantUriPermissions="true">
|
2018-05-28 15:56:38 +00:00
|
|
|
<meta-data
|
2020-08-01 00:06:53 +00:00
|
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
|
|
android:resource="@xml/provider_paths" />
|
2018-05-28 15:56:38 +00:00
|
|
|
</provider>
|
|
|
|
|
2016-08-29 12:50:41 +00:00
|
|
|
</application>
|
|
|
|
|
2020-01-02 17:00:37 +00:00
|
|
|
|
|
|
|
</manifest>
|