You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

208 lines
8.6 KiB

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.dj.ruishi"
android:versionCode="2"
android:versionName="2.0" >
<uses-sdk
android:minSdkVersion="23"
android:targetSdkVersion="30" />
<!-- DJI SDK need these permissions -->
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> <!-- video editor -->
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" /> <!-- share permission end -->
<!-- livestreaming permission start -->
<!-- livestreaming permission end -->
<uses-feature
android:name="android.hardware.usb.host"
android:required="false" />
<uses-feature
android:name="android.hardware.usb.accessory"
android:required="true" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<uses-feature
android:name="android.hardware.wifi"
android:required="false" />
<application
android:name="com.dji.ux.ruishi.MApplication"
android:allowBackup="true"
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
android:debuggable="true"
android:extractNativeLibs="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
android:supportsRtl="true"
android:testOnly="true"
android:theme="@style/AppTheme" >
<!-- DJI SDK -->
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
<uses-library android:name="com.android.future.usb.accessory" />
<meta-data
android:name="com.dji.sdk.API_KEY"
android:value="50ed00b9f18ca93489f99a50" />
<!-- Here Maps -->
<meta-data
android:name="com.here.android.maps.appid"
android:value="a27fb740540daad5d9c095011eb235ee" />
<meta-data
android:name="com.here.android.maps.apptoken"
android:value="a27fb740540daad5d9c095011eb235ee" />
<meta-data
android:name="com.here.android.maps.license.key"
android:value="a27fb740540daad5d9c095011eb235ee" />
<service
android:name="com.here.android.mpa.service.MapService"
android:label="HereMapService" >
<intent-filter>
<!-- Note, action name should not be changed. -->
<action android:name="com.here.android.mpa.service.MapService.v3" />
</intent-filter>
</service>
<!-- Google Maps -->
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="a27fb740540daad5d9c095011eb235ee" />
<!-- AMaps -->
<meta-data
android:name="com.amap.api.v2.apikey"
android:value="a27fb740540daad5d9c095011eb235ee" />
<activity
android:name="com.dji.ux.ruishi.MainActivity"
android:launchMode="singleTop"
android:screenOrientation="sensorLandscape"
android:theme="@style/AppTheme" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.dji.ux.ruishi.DJIConnectionControlActivity"
android:theme="@android:style/Theme.Translucent" >
<intent-filter>
<action android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
</intent-filter>
<meta-data
android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED"
android:resource="@xml/accessory_filter" />
</activity>
<activity
android:name="com.dji.ux.ruishi.CompleteWidgetActivity"
android:label="Default Widgets"
android:launchMode="singleTop"
android:screenOrientation="sensorLandscape"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" >
<intent-filter>
<action android:name="go.fly" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="com.dji.ux.ruishi.TaskActivity"
android:label="Default Widgets"
android:launchMode="standard"
android:screenOrientation="sensorLandscape"
android:theme="@style/AppThemeTask" />
<activity
android:name="com.dji.ux.ruishi.TestActivity"
android:label="Default Widgets"
android:launchMode="standard"
android:screenOrientation="sensorLandscape"
android:theme="@style/AppThemeTask" />
<activity
android:name="com.dji.ux.ruishi.LoginActivity"
android:label="Default Widgets"
android:launchMode="standard"
android:screenOrientation="sensorLandscape"
android:theme="@style/AppThemeTask" />
<activity
android:name="com.dji.ux.ruishi.MediaManagerActivity"
android:label="Default Widgets"
android:launchMode="singleTop"
android:screenOrientation="sensorLandscape"
android:theme="@style/AppThemeTask" />
<activity
android:name="com.dji.ux.ruishi.CustomizedWidgetsActivity"
android:label="Customized Widgets"
android:launchMode="singleTop"
android:screenOrientation="sensorLandscape"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" />
<activity
android:name="com.dji.ux.ruishi.MapWidgetActivity"
android:label="Map Widget"
android:launchMode="singleTop"
android:screenOrientation="sensorLandscape"
android:theme="@style/MapTheme" />
<service
android:name="dji.sdk.sdkmanager.DJIGlobalService"
android:stopWithTask="true" />
<receiver
android:name="dji.logic.receiver.DJIPilotStartupReceiver"
android:exported="true" >
<intent-filter>
<action android:name="dji.go3.STARTUP" />
<action android:name="dji.go4.STARTUP" />
</intent-filter>
</receiver>
<provider
android:name="com.mapbox.android.telemetry.provider.MapboxTelemetryInitProvider"
android:authorities="com.dj.ruishi.mapboxtelemetryinitprovider"
android:exported="false"
android:initOrder="100" />
<service
android:name="com.mapbox.android.telemetry.errors.ErrorReporterJobIntentService"
android:permission="android.permission.BIND_JOB_SERVICE" />
<activity
android:name="com.google.android.gms.common.api.GoogleApiActivity"
android:exported="false"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<provider
android:name="androidx.lifecycle.ProcessLifecycleOwnerInitializer"
android:authorities="com.dj.ruishi.lifecycle-process"
android:exported="false"
android:multiprocess="true" />
</application>
</manifest>