<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
	package="org.cryptomator.presentation">

	<!-- Keep in sync with apkstore, playstore and fdroid -->
	<application>
		<activity
			android:name="com.dropbox.core.android.AuthActivity"
			android:configChanges="orientation|keyboard"
			android:exported="true"
			android:launchMode="singleTask">
			<intent-filter>
				<data android:scheme="db-${DROPBOX_API_KEY}" />

				<action android:name="android.intent.action.VIEW" />

				<category android:name="android.intent.category.BROWSABLE" />
				<category android:name="android.intent.category.DEFAULT" />
			</intent-filter>
		</activity>

		<activity
			android:name="com.microsoft.identity.client.BrowserTabActivity"
			android:exported="true">
			<intent-filter>
				<action android:name="android.intent.action.VIEW" />

				<category android:name="android.intent.category.DEFAULT" />
				<category android:name="android.intent.category.BROWSABLE" />

				<data
					android:host="org.cryptomator"
					android:path="/${ONEDRIVE_API_KEY_DECODED}"
					android:scheme="msauth" />
			</intent-filter>
		</activity>

	</application>

</manifest>
