Meshtastic-Android/app/src/main/AndroidManifest.xml

52 lines
2 KiB
XML
Raw Normal View History

2020-01-20 15:53:22 -08:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2020-01-21 09:37:39 -08:00
package="com.geeksville.meshutil"
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="GoogleAppIndexingWarning">
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <!-- only useful if this phone can do BTLE -->
2020-01-21 13:12:01 -08:00
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" /> <!-- needed to access bluetooth when app is background -->
2020-01-21 09:37:39 -08:00
<uses-permission android:name="android.permission.WAKE_LOCK" /> <!-- for job intent service -->
<uses-feature
android:name="android.hardware.bluetooth_le"
android:required="true" />
2020-01-20 15:53:22 -08:00
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
2020-01-20 16:13:40 -08:00
android:theme="@style/AppTheme">
2020-01-21 09:37:39 -08:00
<!-- we need bind job service for oreo -->
<service
android:name=".SoftwareUpdateService"
android:enabled="true"
android:exported="false"
android:permission="android.permission.BIND_JOB_SERVICE" />
2020-01-20 15:53:22 -08:00
<activity
android:name=".MainActivity"
android:label="@string/app_name"
2020-01-20 16:13:40 -08:00
android:theme="@style/AppTheme.NoActionBar">
2020-01-20 15:53:22 -08:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
2020-01-21 09:37:39 -08:00
<receiver android:name=".BootCompleteReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
2020-01-20 15:53:22 -08:00
</application>
</manifest>