mirror of
https://github.com/bbara04/Purefin.git
synced 2026-04-05 10:28:53 +02:00
feat: add :app-tv module as Android TV starting point
Creates a new :app-tv application module that reuses shared business logic from :core:model, :core:data, :core:player, and :feature:shared, with its own TV-specific UI layer. - TvApplication + TvActivity with full Hilt + Navigation3 wiring - TvHomePage reusing HomePageViewModel from :feature:shared - Copied common UI components (PosterCard, WaitingScreen, etc.) - Copied login screen and form components - TV navigation module with Home + Login route entry builders - Material3 theme copied from mobile (ready for TV customization) - AndroidManifest with LAUNCHER + LEANBACK_LAUNCHER intent filters - Excludes :feature:download (downloads are mobile-only)
This commit is contained in:
39
app-tv/src/main/AndroidManifest.xml
Normal file
39
app-tv/src/main/AndroidManifest.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
|
||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||
|
||||
<uses-feature
|
||||
android:name="android.hardware.touchscreen"
|
||||
android:required="false" />
|
||||
<uses-feature
|
||||
android:name="android.software.leanback"
|
||||
android:required="false" />
|
||||
|
||||
<application
|
||||
android:name=".TvApplication"
|
||||
android:allowBackup="true"
|
||||
android:dataExtractionRules="@xml/data_extraction_rules"
|
||||
android:fullBackupContent="@xml/backup_rules"
|
||||
android:icon="@mipmap/purefin_logo"
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/purefin_logo_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.Purefin">
|
||||
<activity
|
||||
android:name=".TvActivity"
|
||||
android:exported="true"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/Theme.Purefin">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
Reference in New Issue
Block a user