AndroidAPS/app/src/main/AndroidManifest.xml

167 lines
7.3 KiB
XML
Raw Normal View History

2016-06-04 17:28:05 +02:00
<?xml version="1.0" encoding="utf-8"?>
2022-06-13 17:50:31 +02:00
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2016-06-04 17:28:05 +02:00
2016-06-05 01:40:35 +02:00
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
2021-12-14 20:36:16 +01:00
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
2016-06-05 01:40:35 +02:00
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
2017-02-18 10:41:42 +01:00
<uses-permission android:name="android.permission.INTERNET" />
2016-11-17 15:17:02 +01:00
<uses-permission android:name="com.google.android.permission.PROVIDE_BACKGROUND" />
2019-05-15 23:26:07 +02:00
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
2017-10-14 13:36:38 +02:00
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
2018-09-19 15:26:58 +02:00
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
2018-04-22 18:24:06 +02:00
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
2019-06-19 01:38:55 +02:00
<uses-permission android:name="com.dexcom.cgm.EXTERNAL_PERMISSION" />
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
2021-02-13 21:16:31 +01:00
<uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
2017-06-11 17:22:54 +02:00
<uses-permission-sdk-23 android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
2016-06-05 01:40:35 +02:00
2016-06-07 21:48:17 +02:00
<!-- To receive data from xdrip. -->
<uses-permission android:name="com.eveningoutpost.dexdrip.permissions.RECEIVE_BG_ESTIMATE" />
<!-- To receive data from Aidex -->
<uses-permission android:name="com.microtechmd.cgms.aidex.permissions.RECEIVE_BG_ESTIMATE" />
2016-06-04 17:28:05 +02:00
<application
2016-06-05 01:40:35 +02:00
android:name=".MainApp"
2016-06-04 17:28:05 +02:00
android:allowBackup="true"
2022-04-03 00:54:32 +02:00
android:backupAgent=".utils.SPBackupAgent"
android:fullBackupOnly="false"
2017-02-23 20:00:33 +01:00
android:icon="${appIcon}"
2016-06-04 17:28:05 +02:00
android:label="@string/app_name"
2022-04-03 00:54:32 +02:00
android:restoreAnyVersion="true"
android:roundIcon="${appIconRound}"
2016-06-04 17:28:05 +02:00
android:supportsRtl="true"
2022-06-13 17:50:31 +02:00
android:theme="@style/AppTheme.Launcher">
2022-04-06 00:23:01 +02:00
2022-04-11 14:25:00 +02:00
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<meta-data
android:name="com.google.android.backup.api_key"
android:value="AEdPqrEAAAAI3JiApyMrbP2QFzZ2fYfCPsgjkRp53Dm2S1-zPQ" />
<meta-data
android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc" />
2019-04-08 17:03:18 +02:00
2022-06-13 17:50:31 +02:00
<activity
android:name=".MainActivity"
android:exported="true"
android:theme="@style/AppTheme">
2016-06-04 17:28:05 +02:00
<intent-filter>
2019-05-15 23:31:46 +02:00
<action android:name="android.intent.action.VIEW" />
2016-06-04 17:28:05 +02:00
<action android:name="android.intent.action.MAIN" />
2022-06-13 17:50:31 +02:00
2016-06-04 17:28:05 +02:00
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
2022-06-13 17:50:31 +02:00
<activity
android:name=".activities.PreferencesActivity"
android:exported="false" />
<activity
android:name=".plugins.general.overview.activities.QuickWizardListActivity"
android:exported="false"
android:theme="@style/AppTheme">
2016-10-20 23:50:31 +02:00
<intent-filter>
2019-03-22 23:08:13 +01:00
<action android:name="info.nightscout.androidaps.plugins.general.overview.activities.QuickWizardListActivity" />
2018-04-20 17:27:31 +02:00
2016-10-20 23:50:31 +02:00
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
2022-06-13 17:50:31 +02:00
<activity
android:name=".plugins.general.maintenance.activities.PrefImportListActivity"
android:exported="false"
android:theme="@style/AppTheme" />
2022-06-13 17:50:31 +02:00
<activity
android:name=".activities.HistoryBrowseActivity"
android:exported="false"
android:theme="@style/AppTheme" />
2019-04-14 17:55:43 +02:00
<!-- Receive new BG readings from other local apps -->
2016-06-05 01:40:35 +02:00
<receiver
2022-06-13 17:50:31 +02:00
android:name=".receivers.DataReceiver"
android:enabled="true"
android:exported="true">
2016-06-05 01:40:35 +02:00
<intent-filter>
<!-- Receiver from xDrip -->
2022-06-13 17:50:31 +02:00
<action android:name="com.eveningoutpost.dexdrip.BgEstimate" />
2016-12-28 14:57:11 +01:00
<!-- Receiver from 640g uploader -->
2022-06-13 17:50:31 +02:00
<action android:name="com.eveningoutpost.dexdrip.NS_EMULATOR" />
2017-03-28 22:49:56 +02:00
<!-- Receiver from glimp -->
2022-06-13 17:50:31 +02:00
<action android:name="it.ct.glicemia.ACTION_GLUCOSE_MEASURED" />
2019-06-19 01:38:55 +02:00
<!-- Receiver from Dexcom -->
2022-06-13 17:50:31 +02:00
<action android:name="com.dexcom.cgm.EXTERNAL_BROADCAST" />
2018-06-11 17:26:31 +02:00
<!-- Receiver from Poctech -->
2022-06-13 17:50:31 +02:00
<action android:name="com.china.poctech.data" />
2019-03-22 23:08:13 +01:00
<!-- Receiver from Tomato -->
2022-06-13 17:50:31 +02:00
<action android:name="com.fanqies.tomatofn.BgEstimate" />
2022-03-17 20:05:38 +01:00
<!-- Receiver from GlucoRx Aidex -->
2022-06-13 17:50:31 +02:00
<action android:name="com.microtechmd.cgms.aidex.action.BgEstimate" />
</intent-filter>
</receiver>
<!-- Receive new SMS messages -->
<receiver
2022-06-13 17:50:31 +02:00
android:name=".receivers.SmsReceiver"
android:enabled="true"
android:exported="true"
android:permission="android.permission.BROADCAST_SMS">
<intent-filter>
2022-06-13 17:50:31 +02:00
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
2016-06-07 21:48:17 +02:00
</intent-filter>
</receiver>
<!-- Receive ignore 5m, 15m, 30m requests for carb notifications -->
2022-11-18 19:51:39 +01:00
<receiver android:name="info.nightscout.plugins.aps.loop.CarbSuggestionReceiver" />
2017-02-17 13:18:36 +01:00
<!-- Auto start -->
<receiver
2019-12-17 23:24:54 +01:00
android:name=".receivers.AutoStartReceiver"
2017-02-17 13:18:36 +01:00
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
2018-07-24 22:34:10 +02:00
<provider
2019-05-16 13:57:37 +02:00
android:name="androidx.core.content.FileProvider"
2018-08-07 21:07:43 +02:00
android:authorities="${applicationId}.fileprovider"
2018-07-24 22:34:10 +02:00
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/filepaths" />
</provider>
2017-06-11 17:22:54 +02:00
<service
2018-07-29 00:00:48 +02:00
android:name=".services.AlarmSoundService"
2017-06-11 17:22:54 +02:00
android:enabled="true"
android:exported="true" />
2017-11-28 21:48:46 +01:00
<service
2022-11-08 17:34:47 +01:00
android:name="info.nightscout.plugins.general.overview.notifications.DismissNotificationService"
2018-04-20 17:27:31 +02:00
android:exported="false" />
2017-06-11 17:22:54 +02:00
2019-03-22 23:08:13 +01:00
<service android:name=".plugins.general.persistentNotification.DummyService" />
2018-06-17 23:33:32 +02:00
2022-06-13 17:50:31 +02:00
<activity
android:name=".plugins.general.maintenance.activities.LogSettingActivity"
android:exported="false" />
2019-05-15 23:26:07 +02:00
2022-06-13 17:50:31 +02:00
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
2019-05-15 23:26:07 +02:00
2016-06-04 17:28:05 +02:00
</application>
2019-03-22 23:08:13 +01:00
</manifest>