1
0
mirror of https://github.com/dzeiocom/OpenHealth.git synced 2025-05-13 04:37:52 +00:00
OpenHealth/app/src/main/AndroidManifest.xml
2021-12-22 17:36:12 +01:00

61 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.dzeio.openhealth">
<!-- Google Fit -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<!-- Phone Services -->
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION " />
<!-- Samsung Health-->
<queries>
<package android:name="com.sec.android.app.shealth" />
</queries>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:name=".Application"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.OpenHealth">
<receiver android:name=".services.BroadcastReceiver"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
</intent-filter>
</receiver>
<!-- Water Intake -->
<service android:name=".services.WaterReminderService"
android:label="Water Intake service"
android:permission="android.permission.BIND_JOB_SERVICE" />
<!-- Samsung Health-->
<meta-data
android:name="com.samsung.android.health.permission.read"
android:value="com.samsung.health.step_count" />
<!-- Google Fit -->
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<activity
android:name=".MainActivity"
android:exported="true"
android:theme="@style/Theme.OpenHealth.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>