summaryrefslogtreecommitdiffstats
path: root/mobile/android/geckoview_example/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/geckoview_example/src/main/AndroidManifest.xml')
-rw-r--r--mobile/android/geckoview_example/src/main/AndroidManifest.xml73
1 files changed, 73 insertions, 0 deletions
diff --git a/mobile/android/geckoview_example/src/main/AndroidManifest.xml b/mobile/android/geckoview_example/src/main/AndroidManifest.xml
new file mode 100644
index 0000000000..280a1b6e77
--- /dev/null
+++ b/mobile/android/geckoview_example/src/main/AndroidManifest.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="org.mozilla.geckoview_example">
+
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
+ <uses-permission android:name="android.permission.RECORD_AUDIO"/>
+ <uses-permission android:name="android.permission.CAMERA"/>
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
+ <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
+
+ <application
+ android:allowBackup="true"
+ android:label="@string/app_name"
+ android:supportsRtl="true"
+ android:usesCleartextTraffic="true"
+ android:icon="@drawable/logo"
+ android:name="androidx.multidex.MultiDexApplication">
+ <uses-library android:name="android.test.runner"
+ android:required="false"/>
+
+ <activity
+ android:configChanges="keyboardHidden|orientation|screenSize"
+ android:name=".GeckoViewActivity"
+ android:label="GeckoView Example"
+ android:launchMode="singleTop"
+ android:theme="@style/Theme.AppCompat.Light.NoActionBar"
+ android:exported="true"
+ android:windowSoftInputMode="stateUnspecified|adjustResize">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+
+ <category android:name="android.intent.category.LAUNCHER"/>
+ <category android:name="android.intent.category.MULTIWINDOW_LAUNCHER"/>
+ <category android:name="android.intent.category.APP_BROWSER"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ </intent-filter>
+ <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:scheme="http"/>
+ <data android:scheme="https"/>
+ <data android:scheme="about"/>
+ <data android:scheme="javascript"/>
+ </intent-filter>
+ </activity>
+ <activity
+ android:name=".SessionActivity"
+ android:label="GeckoView Example"
+ android:theme="@style/Theme.AppCompat.Light.NoActionBar"
+ android:exported="false"
+ android:windowSoftInputMode="stateUnspecified|adjustResize">
+ </activity>
+ <activity
+ android:name=".SettingsActivity"
+ android:label="Settings"
+ android:exported="false"
+ android:theme="@style/Theme.AppCompat.Light.NoActionBar">
+ </activity>
+
+ <service
+ android:name=".ExampleCrashHandler"
+ android:exported="false"
+ android:process=":crash">
+ </service>
+ </application>
+
+</manifest>