UNPKG

react-native-tvos

Version:

A framework for building native apps using React

33 lines (30 loc) 1.37 kB
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <uses-permission android:name="android.permission.INTERNET" /> <!-- android:icon is used to display launcher icon on mobile devices. android:banner is used to display a rectangular banned launcher icon on Android TV devices. --> <application android:name=".MainApplication" android:label="@string/app_name" android:banner="@drawable/tv_banner" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" android:theme="@style/AppTheme"> <activity android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> <!-- Needed to properly create a launch intent when running on Android TV --> <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> </intent-filter> </activity> </application> </manifest>