|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 |
| -<manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
| 2 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + xmlns:tools="http://schemas.android.com/tools"> |
3 | 4 |
|
4 |
| - <uses-feature |
5 |
| - android:name="android.software.leanback" |
6 |
| - android:required="false" /> |
7 |
| - <uses-feature |
8 |
| - android:name="android.hardware.touchscreen" |
9 |
| - android:required="false" /> |
10 |
| - <uses-feature |
11 |
| - android:name="android.hardware.location.gps" |
12 |
| - android:required="false" /> |
13 |
| - <uses-feature |
14 |
| - android:name="android.hardware.camera" |
15 |
| - android:required="false" /> |
| 5 | + <uses-feature |
| 6 | + android:name="android.software.leanback" |
| 7 | + android:required="false" /> |
| 8 | + <uses-feature |
| 9 | + android:name="android.hardware.touchscreen" |
| 10 | + android:required="false" /> |
| 11 | + <uses-feature |
| 12 | + android:name="android.hardware.location.gps" |
| 13 | + android:required="false" /> |
| 14 | + <uses-feature |
| 15 | + android:name="android.hardware.camera" |
| 16 | + android:required="false" /> |
16 | 17 |
|
17 |
| - <uses-permission android:name="android.permission.INTERNET" /> |
18 |
| - <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
19 |
| - <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> |
20 |
| - <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> |
21 |
| - <uses-permission android:name="android.permission.VIBRATE"/> |
22 |
| - <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
| 18 | + <uses-permission android:name="android.permission.INTERNET" /> |
| 19 | + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 20 | + <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 21 | + <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 22 | + <uses-permission android:name="android.permission.VIBRATE" /> |
| 23 | + <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <!-- Just to show permissions example --> |
| 24 | + <uses-permission android:name="android.permission.CAMERA" /> |
| 25 | + <uses-permission android:name="android.permission.READ_CALENDAR" /> |
| 26 | + <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
23 | 27 |
|
24 |
| - <!--Just to show permissions example--> |
25 |
| - <uses-permission android:name="android.permission.CAMERA"/> |
26 |
| - <uses-permission android:name="android.permission.READ_CALENDAR"/> |
27 |
| - <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/> |
| 28 | + <queries> |
| 29 | + <package android:name="com.facebook.katana" /> |
| 30 | + <package android:name="com.facebook.lite" /> |
| 31 | + <package android:name="com.facebook.android" /> |
28 | 32 |
|
29 |
| - <!-- |
30 |
| - android:icon is used to display launcher icon on mobile devices. |
31 |
| - android:banner is used to display a rectangular banned launcher icon on Android TV devices. |
32 |
| - --> |
33 |
| - <application |
34 |
| - android:name=".RNTesterApplication" |
35 |
| - android:allowBackup="true" |
36 |
| - android:banner="@drawable/tv_banner" |
37 |
| - android:icon="@mipmap/ic_launcher" |
38 |
| - android:roundIcon="@mipmap/ic_launcher_round" |
39 |
| - android:label="@string/app_name" |
40 |
| - android:theme="@style/AppTheme" |
41 |
| - android:supportsRtl="true"> |
42 |
| - <activity |
43 |
| - android:name=".RNTesterActivity" |
| 33 | + <intent> |
| 34 | + <action android:name="android.intent.action.VIEW" /> |
| 35 | + |
| 36 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 37 | + |
| 38 | + <data android:scheme="https" /> |
| 39 | + </intent> |
| 40 | + <intent> |
| 41 | + <action android:name="android.intent.action.VIEW" /> |
| 42 | + |
| 43 | + <data android:scheme="geo" /> |
| 44 | + </intent> |
| 45 | + <intent> |
| 46 | + <action android:name="android.intent.action.DIAL" /> |
| 47 | + |
| 48 | + <data android:scheme="tel" /> |
| 49 | + </intent> |
| 50 | + </queries> |
| 51 | + |
| 52 | + <application |
| 53 | + android:name=".RNTesterApplication" |
| 54 | + android:allowBackup="true" |
| 55 | + android:banner="@drawable/tv_banner" |
| 56 | + android:icon="@mipmap/ic_launcher" |
44 | 57 | android:label="@string/app_name"
|
45 |
| - android:screenOrientation="fullSensor" |
46 |
| - android:launchMode="singleTask" |
47 |
| - android:configChanges="orientation|screenSize|uiMode" |
48 |
| - android:exported="true"> |
49 |
| - <intent-filter> |
50 |
| - <action android:name="android.intent.action.MAIN" /> |
51 |
| - <category android:name="android.intent.category.LAUNCHER" /> |
52 |
| - <!-- Needed to properly create a launch intent when running on Android TV --> |
53 |
| - <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> |
54 |
| - </intent-filter> |
55 |
| - <intent-filter> |
56 |
| - <action android:name="android.intent.action.VIEW" /> |
57 |
| - <category android:name="android.intent.category.DEFAULT" /> |
58 |
| - <category android:name="android.intent.category.BROWSABLE" /> |
59 |
| - <!-- Accepts URIs that begin with "rntester://example” --> |
60 |
| - <data android:scheme="rntester" android:host="example" /> |
61 |
| - </intent-filter> |
62 |
| - </activity> |
63 |
| - <provider |
64 |
| - android:name="com.facebook.react.modules.blob.BlobProvider" |
65 |
| - android:authorities="@string/blob_provider_authority" |
66 |
| - android:exported="false" |
67 |
| - /> |
68 |
| - </application> |
69 |
| - <queries> |
70 |
| - <package android:name="com.facebook.katana" /> |
71 |
| - <package android:name="com.facebook.lite" /> |
72 |
| - <package android:name="com.facebook.android" /> |
73 |
| - <intent> |
74 |
| - <action android:name="android.intent.action.VIEW" /> |
75 |
| - <category android:name="android.intent.category.BROWSABLE" /> |
76 |
| - <data android:scheme="https" /> |
77 |
| - </intent> |
78 |
| - <intent> |
79 |
| - <action android:name="android.intent.action.VIEW" /> |
80 |
| - <data android:scheme="geo" /> |
81 |
| - </intent> |
82 |
| - <intent> |
83 |
| - <action android:name="android.intent.action.DIAL" /> |
84 |
| - <data android:scheme="tel" /> |
85 |
| - </intent> |
86 |
| - </queries> |
| 58 | + android:roundIcon="@mipmap/ic_launcher_round" |
| 59 | + android:supportsRtl="true" |
| 60 | + android:theme="@style/AppTheme"> |
| 61 | + <profileable |
| 62 | + android:shell="true" |
| 63 | + tools:targetApi="29" /> |
| 64 | + |
| 65 | + <activity |
| 66 | + android:name=".RNTesterActivity" |
| 67 | + android:configChanges="orientation|screenSize|uiMode" |
| 68 | + android:exported="true" |
| 69 | + android:label="@string/app_name" |
| 70 | + android:launchMode="singleTask" |
| 71 | + android:screenOrientation="fullSensor"> |
| 72 | + <intent-filter> |
| 73 | + <action android:name="android.intent.action.MAIN" /> |
| 74 | + |
| 75 | + <category android:name="android.intent.category.LAUNCHER" /> |
| 76 | + <!-- Needed to properly create a launch intent when running on Android TV --> |
| 77 | + <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> |
| 78 | + </intent-filter> |
| 79 | + <intent-filter> |
| 80 | + <action android:name="android.intent.action.VIEW" /> |
| 81 | + |
| 82 | + <category android:name="android.intent.category.DEFAULT" /> |
| 83 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 84 | + <!-- Accepts URIs that begin with "rntester://example” --> |
| 85 | + <data |
| 86 | + android:host="example" |
| 87 | + android:scheme="rntester" /> |
| 88 | + </intent-filter> |
| 89 | + </activity> |
| 90 | + |
| 91 | + <provider |
| 92 | + android:name="com.facebook.react.modules.blob.BlobProvider" |
| 93 | + android:authorities="@string/blob_provider_authority" |
| 94 | + android:exported="false" /> |
| 95 | + </application> |
87 | 96 |
|
88 | 97 | </manifest>
|
0 commit comments