~samwhited/oslp

ref: 94b5c4a96116b88d39ea78b9d8dd62b3046a3997 oslp/src/main/AndroidManifest.xml -rw-r--r-- 2.6 KiB
94b5c4a9Sam Whited Allow opening geo URIs from other apps 3 years ago
                                                                                
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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.samwhited.opensharelocationplugin"
    android:installLocation="auto">

    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

    <application
        android:allowBackup="true"
        android:fullBackupContent="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/ConversationsTheme"
        tools:ignore="UnusedAttribute">
        <meta-data
            android:name="THUNDERFOREST_MAPID"
            android:value="${apiKey}" />

        <activity
            android:name=".activities.ShareLocationActivity"
            android:label="@string/title_activity_share_location">
            <intent-filter>
                <action android:name="eu.siacs.conversations.location.request" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity
            android:name=".activities.ShowLocationActivity"
            android:label="@string/title_activity_show_location">
            <intent-filter>
                <action android:name="eu.siacs.conversations.location.show" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
                <data android:scheme="geo" />
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
                <data android:scheme="geo" />
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.BROWSABLE"/>
            </intent-filter>
        </activity>
        <activity
            android:name=".activities.AboutActivity"
            android:label="@string/title_activity_about" />
        <activity
            android:name=".activities.SettingsActivity"
            android:label="@string/title_activity_settings" />
    </application>

</manifest>