OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 <manifest xmlns:android="http://schemas.android.com/apk/res/android" | 6 <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
7 package="{{ manifest_package }}" | 7 package="{{ manifest_package }}" |
8 android:versionCode="1" | 8 android:versionCode="1" |
9 android:versionName="1.0" > | 9 android:versionName="1.0" > |
10 | 10 |
11 <uses-sdk | 11 <uses-sdk |
12 android:minSdkVersion="16" | 12 android:minSdkVersion="16" |
13 android:targetSdkVersion="23" /> | 13 android:targetSdkVersion="23" /> |
14 | 14 |
15 <application | 15 <application |
16 android:icon="@drawable/app_icon" | 16 android:icon="@drawable/app_icon" |
17 android:label="WebAPK Sample App" | 17 android:label="WebAPK Sample App" |
18 android:allowBackup="false"> | 18 android:allowBackup="false"> |
19 <activity android:name="org.chromium.webapk.shell_apk.MainActivity" | 19 <activity android:name="org.chromium.webapk.shell_apk.MainActivity" |
20 android:theme="@android:style/Theme.Translucent.NoTitleBar"> | 20 android:theme="@android:style/Theme.Translucent.NoTitleBar"> |
21 <intent-filter> | 21 <intent-filter> |
22 <action android:name="android.intent.action.MAIN" /> | 22 <action android:name="android.intent.action.MAIN" /> |
23 <category android:name="android.intent.category.LAUNCHER" /> | 23 <category android:name="android.intent.category.LAUNCHER" /> |
24 </intent-filter> | 24 </intent-filter> |
| 25 <intent-filter> |
| 26 <action android:name="android.intent.action.VIEW"></action> |
| 27 <category android:name="android.intent.category.DEFAULT"></categ
ory> |
| 28 <category android:name="android.intent.category.BROWSABLE"></cat
egory> |
| 29 <data android:scheme="https" android:host="{{ scope_url_host }}"
android:pathPrefix=""></data> |
| 30 </intent-filter> |
25 </activity> | 31 </activity> |
26 <meta-data android:name="runtimeHost" android:value="{{ runtime_host }}"
/> | 32 <meta-data android:name="runtimeHost" android:value="{{ runtime_host }}"
/> |
27 <meta-data android:name="hostUrl" android:value="{{ host_url }}" /> | 33 <meta-data android:name="hostUrl" android:value="{{ host_url }}" /> |
28 <meta-data android:name="mac" android:value="{{ mac }}" /> | 34 <meta-data android:name="mac" android:value="{{ mac }}" /> |
29 <meta-data android:name="scope" android:value="{{ scope }}" /> | 35 <meta-data android:name="scope" android:value="{{ scope_url }}" /> |
30 </application> | 36 </application> |
31 </manifest> | 37 </manifest> |
OLD | NEW |