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-22 21:46:41 -08:00
|
|
|
package="com.geeksville.mesh"
|
2020-01-21 09:37:39 -08:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
tools:ignore="GoogleAppIndexingWarning">
|
|
|
|
|
|
2020-04-12 16:11:16 -07:00
|
|
|
<!-- per https://github.com/journeyapps/zxing-android-embedded to force support for build 22 -->
|
|
|
|
|
<uses-sdk tools:overrideLibrary="com.google.zxing.client.android" />
|
|
|
|
|
|
2020-01-21 09:37:39 -08:00
|
|
|
<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 -->
|
|
|
|
|
|
2020-01-22 09:28:59 -08:00
|
|
|
<!--
|
|
|
|
|
This permission is required to allow the application to send
|
|
|
|
|
events and properties to Mixpanel.
|
|
|
|
|
-->
|
2020-01-24 17:05:55 -08:00
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
2020-01-22 09:28:59 -08:00
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
This permission is optional but recommended so we can be smart
|
|
|
|
|
about when to send data.
|
|
|
|
|
-->
|
2020-01-24 17:05:55 -08:00
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
2020-01-22 09:28:59 -08:00
|
|
|
|
2020-01-24 17:47:32 -08:00
|
|
|
<!-- Only for debug log writing, disable for production FIXME -->
|
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
|
|
2020-02-04 13:24:04 -08:00
|
|
|
<!-- We run our mesh code as a foreground service - FIXME, find a way to stop doing this -->
|
|
|
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
|
|
|
|
2020-02-12 15:47:06 -08:00
|
|
|
<!-- Needed to open our bluetooth connection to our paired device (after reboot) -->
|
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
|
|
|
|
2020-03-02 10:30:32 -08:00
|
|
|
<!-- the xing library will try to bring this permission in but we don't want it -->
|
2020-04-09 11:03:17 -07:00
|
|
|
<uses-permission
|
|
|
|
|
android:name="android.permission.CAMERA"
|
|
|
|
|
tools:node="remove" />
|
2020-03-02 10:30:32 -08:00
|
|
|
|
2020-01-21 09:37:39 -08:00
|
|
|
<uses-feature
|
|
|
|
|
android:name="android.hardware.bluetooth_le"
|
|
|
|
|
android:required="true" />
|
2020-01-20 15:53:22 -08:00
|
|
|
|
|
|
|
|
<application
|
2020-04-11 09:39:34 -07:00
|
|
|
tools:replace="android:icon"
|
2020-01-22 21:46:41 -08:00
|
|
|
android:name="com.geeksville.mesh.MeshUtilApplication"
|
2020-01-20 15:53:22 -08:00
|
|
|
android:allowBackup="true"
|
2020-02-10 14:06:50 -08:00
|
|
|
android:icon="@mipmap/ic_launcher_new"
|
2020-01-20 15:53:22 -08:00
|
|
|
android:label="@string/app_name"
|
2020-02-10 14:06:50 -08:00
|
|
|
android:roundIcon="@mipmap/ic_launcher_new_round"
|
2020-01-20 15:53:22 -08:00
|
|
|
android:supportsRtl="true"
|
2020-01-20 16:13:40 -08:00
|
|
|
android:theme="@style/AppTheme">
|
2020-01-21 09:37:39 -08:00
|
|
|
|
2020-01-24 17:05:55 -08:00
|
|
|
<meta-data
|
|
|
|
|
android:name="com.mixpanel.android.MPConfig.DisableViewCrawler"
|
2020-01-22 09:28:59 -08:00
|
|
|
android:value="true" />
|
|
|
|
|
|
2020-01-25 10:00:57 -08:00
|
|
|
<meta-data
|
|
|
|
|
android:name="firebase_crashlytics_collection_enabled"
|
|
|
|
|
android:value="false" />
|
|
|
|
|
|
2020-01-21 09:37:39 -08:00
|
|
|
<!-- we need bind job service for oreo -->
|
|
|
|
|
<service
|
2020-02-10 15:31:56 -08:00
|
|
|
android:name="com.geeksville.mesh.service.SoftwareUpdateService"
|
2020-01-21 09:37:39 -08:00
|
|
|
android:enabled="true"
|
|
|
|
|
android:exported="false"
|
2020-01-26 10:29:55 -08:00
|
|
|
android:permission="android.permission.BIND_JOB_SERVICE"></service>
|
2020-01-21 09:37:39 -08:00
|
|
|
|
2020-01-24 17:05:55 -08:00
|
|
|
<!-- This is the public API for doing mesh radio operations from android apps -->
|
2020-01-22 21:25:31 -08:00
|
|
|
<service
|
2020-02-10 15:31:56 -08:00
|
|
|
android:name="com.geeksville.mesh.service.MeshService"
|
2020-01-22 21:25:31 -08:00
|
|
|
android:enabled="true"
|
2020-01-26 10:29:55 -08:00
|
|
|
android:exported="true">
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="com.geeksville.mesh.Service" />
|
|
|
|
|
</intent-filter>
|
|
|
|
|
</service>
|
2020-01-22 21:25:31 -08:00
|
|
|
|
2020-01-24 17:05:55 -08:00
|
|
|
<!-- This is a private service which just does direct communication to the radio -->
|
|
|
|
|
<service
|
2020-02-10 15:31:56 -08:00
|
|
|
android:name="com.geeksville.mesh.service.RadioInterfaceService"
|
2020-01-24 17:05:55 -08:00
|
|
|
android:enabled="true"
|
|
|
|
|
android:exported="false" />
|
|
|
|
|
|
2020-01-20 15:53:22 -08:00
|
|
|
<activity
|
2020-01-22 21:46:41 -08:00
|
|
|
android:name="com.geeksville.mesh.MainActivity"
|
2020-01-20 15:53:22 -08:00
|
|
|
android:label="@string/app_name"
|
2020-02-10 15:39:04 -08:00
|
|
|
android:screenOrientation="portrait"
|
2020-04-09 11:03:17 -07:00
|
|
|
android:windowSoftInputMode="stateAlwaysHidden"
|
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>
|
2020-02-11 19:19:56 -08:00
|
|
|
|
|
|
|
|
<!-- The QR codes to share channel settings are shared as meshtastic URLS
|
|
|
|
|
|
|
|
|
|
an approximate example:
|
|
|
|
|
http://www.meshtastic.org/s/YXNkZnF3ZXJhc2RmcXdlcmFzZGZxd2Vy
|
|
|
|
|
-->
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
|
|
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
|
|
|
|
|
|
<data
|
2020-03-02 08:54:57 -08:00
|
|
|
android:scheme="https"
|
2020-02-11 19:19:56 -08:00
|
|
|
android:host="www.meshtastic.org"
|
2020-02-16 18:14:40 -08:00
|
|
|
android:pathPrefix="/c/" />
|
2020-02-11 19:19:56 -08:00
|
|
|
</intent-filter>
|
2020-01-20 15:53:22 -08:00
|
|
|
</activity>
|
2020-01-21 09:37:39 -08:00
|
|
|
|
2020-02-10 15:31:56 -08:00
|
|
|
<receiver android:name="com.geeksville.mesh.service.BootCompleteReceiver">
|
2020-01-21 09:37:39 -08:00
|
|
|
<intent-filter>
|
2020-02-12 15:47:06 -08:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
|
|
2020-01-24 17:05:55 -08:00
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
2020-02-12 15:47:06 -08:00
|
|
|
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
|
|
|
|
|
<!--For HTC devices per https://stackoverflow.com/questions/20441308/boot-completed-not-working-android/46294732#46294732 -->
|
|
|
|
|
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON" />
|
|
|
|
|
|
|
|
|
|
<!-- for testing -->
|
|
|
|
|
<action android:name="com.geeksville.mesh.SIM_BOOT" />
|
2020-01-21 09:37:39 -08:00
|
|
|
</intent-filter>
|
|
|
|
|
</receiver>
|
2020-01-20 15:53:22 -08:00
|
|
|
</application>
|
|
|
|
|
|
|
|
|
|
</manifest>
|