Skip to content

Commit d07844c

Browse files
authored
Merge pull request #9 from sheeshcake/feat/tv-support-beta
feat: added tv support (beta phase)
2 parents cb61e77 + d3823ad commit d07844c

33 files changed

+4828
-51
lines changed

android/app/src/main/AndroidManifest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
22

33
<uses-permission android:name="android.permission.INTERNET" />
4+
5+
<!-- Android TV support -->
6+
<uses-feature android:name="android.software.leanback" android:required="false" />
7+
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
48
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
59
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
610
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
@@ -12,6 +16,7 @@
1216
android:label="@string/app_name"
1317
android:icon="@mipmap/ic_launcher"
1418
android:roundIcon="@mipmap/ic_launcher_round"
19+
android:banner="@drawable/tv_banner"
1520
android:allowBackup="false"
1621
android:theme="@style/AppTheme"
1722
android:usesCleartextTraffic="${usesCleartextTraffic}"
@@ -27,6 +32,7 @@
2732
<intent-filter>
2833
<action android:name="android.intent.action.MAIN" />
2934
<category android:name="android.intent.category.LAUNCHER" />
35+
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
3036
</intent-filter>
3137
</activity>
3238

14.1 KB
Loading
7.26 KB
Loading
22.7 KB
Loading
45.2 KB
Loading
7.26 KB
Loading

android/gradle.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ hermesEnabled=true
4646
# Note: Only works with ReactActivity and should not be used with custom Activity.
4747
edgeToEdgeEnabled=false
4848

49-
# Set Java toolchain to 17
50-
org.gradle.java.home=C:\\Program Files\\Microsoft\\jdk-17.0.11.9-hotspot
5149

5250
RNVideo_useExoplayerDash=true
5351
RNVideo_useExoplayerHls=true
80.4 MB
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Flickv4",
3-
"version": "1.2.1",
3+
"version": "1.3.0",
44
"private": true,
55
"scripts": {
66
"clean:android": "cd android && ./gradlew clean",

src/assets/logo/logo-letter.png

1.15 KB
Loading

0 commit comments

Comments
 (0)