summaryrefslogtreecommitdiffstats
path: root/mobile/android/geckoview_example/src/main/AndroidManifest.xml
blob: 280a1b6e77604d4b8b18db615eb0b5751d316c24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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>