1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-24 03:23:02 +02:00

EC-366 Updated AndroidManifest format as what VS4M autoformats (#2014)

This commit is contained in:
Federico Maccaroni 2022-07-26 13:08:05 -03:00 committed by GitHub
parent 16f70dc0ce
commit 90a6850d76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,57 +1,48 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:versionCode="1" android:versionName="2022.6.3" android:installLocation="internalOnly" package="com.x8bit.bitwarden"> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:versionCode="1" android:versionName="2022.6.3" android:installLocation="internalOnly" package="com.x8bit.bitwarden">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30" />
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30"/> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.NFC"/> <uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.USE_FINGERPRINT" />
<uses-permission android:name="android.permission.CAMERA"/> <uses-permission android:name="android.permission.USE_BIOMETRIC" />
<uses-permission android:name="android.permission.USE_FINGERPRINT"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.USE_BIOMETRIC"/> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> <uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-permission android:name="com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY"/> <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<application android:label="Bitwarden" android:theme="@style/LaunchTheme" android:allowBackup="false" tools:replace="android:allowBackup" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:networkSecurityConfig="@xml/network_security_config">
<uses-feature android:name="android.hardware.camera" android:required="false"/> <provider android:name="androidx.core.content.FileProvider" android:authorities="com.x8bit.bitwarden.fileprovider" android:exported="false" android:grantUriPermissions="true">
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/filepaths" />
</provider>
<application android:label="Bitwarden" android:theme="@style/LaunchTheme" android:allowBackup="false" tools:replace="android:allowBackup" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:networkSecurityConfig="@xml/network_security_config"> <meta-data android:name="android.max_aspect" android:value="2.1" />
<provider android:name="androidx.core.content.FileProvider" android:authorities="com.x8bit.bitwarden.fileprovider" android:exported="false" android:grantUriPermissions="true"> <meta-data android:name="android.content.APP_RESTRICTIONS" android:resource="@xml/app_restrictions" />
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/filepaths"/> <!-- Support for Samsung "Multi Window" mode (for Android < 7.0 users) -->
</provider> <meta-data android:name="com.samsung.android.sdk.multiwindow.enable" android:value="true" />
<meta-data android:name="com.samsung.android.sdk.multiwindow.penwindow.enable" android:value="true" />
<meta-data android:name="android.max_aspect" android:value="2.1"/> <!-- Support for LG "Dual Window" mode (for Android < 7.0 users) -->
<meta-data android:name="android.content.APP_RESTRICTIONS" android:resource="@xml/app_restrictions"/> <meta-data android:name="com.lge.support.SPLIT_WINDOW" android:value="true" />
<!-- Declare MainActivity manually so we can set LaunchMode using API dependant resource -->
<!-- Support for Samsung "Multi Window" mode (for Android < 7.0 users) --> <activity android:name="com.x8bit.bitwarden.MainActivity" android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenSize|uiMode" android:exported="true" android:icon="@mipmap/ic_launcher" android:label="Bitwarden" android:launchMode="@integer/launchModeAPIlevel" android:theme="@style/LaunchTheme">
<meta-data android:name="com.samsung.android.sdk.multiwindow.enable" android:value="true"/> <intent-filter>
<meta-data android:name="com.samsung.android.sdk.multiwindow.penwindow.enable" android:value="true"/> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<!-- Support for LG "Dual Window" mode (for Android < 7.0 users) --> </intent-filter>
<meta-data android:name="com.lge.support.SPLIT_WINDOW" android:value="true"/> <intent-filter>
<!-- Declare MainActivity manually so we can set LaunchMode using API dependant resource --> <action android:name="android.intent.action.SEND" />
<activity android:name="com.x8bit.bitwarden.MainActivity" android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenSize|uiMode" android:exported="true" android:icon="@mipmap/ic_launcher" android:label="Bitwarden" android:launchMode="@integer/launchModeAPIlevel" android:theme="@style/LaunchTheme"> <category android:name="android.intent.category.DEFAULT" />
<intent-filter> <data android:mimeType="application/*" />
<action android:name="android.intent.action.MAIN"/> <data android:mimeType="image/*" />
<category android:name="android.intent.category.LAUNCHER"/> <data android:mimeType="video/*" />
</intent-filter> <data android:mimeType="text/*" />
<intent-filter> </intent-filter>
<action android:name="android.intent.action.SEND"/> </activity>
<category android:name="android.intent.category.DEFAULT"/> </application>
<data android:mimeType="application/*"/> <!-- Package visibility (for Android 11+) -->
<data android:mimeType="image/*"/> <queries>
<data android:mimeType="video/*"/> <intent>
<data android:mimeType="text/*"/> <action android:name="*" />
</intent-filter> </intent>
</activity> </queries>
</application> </manifest>
<!-- Package visibility (for Android 11+) -->
<queries>
<intent>
<action android:name="*"/>
</intent>
</queries>
</manifest>