File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
tooling/cli/templates/mobile/android/app/src/main Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " tauri-cli " : " patch:feat"
3+ " @tauri-apps/cli " : " patch:feat"
4+ ---
5+
6+ Add necessary options to ` AndroidManifest.xml ` in android template to support AndroidTV.
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
33 <uses-permission android : name =" android.permission.INTERNET" />
4+
5+ <!-- AndroidTV support -->
6+ <uses-feature android : name =" android.software.leanback" android : required =" false" />
7+
48 <application
59 android : icon =" @mipmap/ic_launcher"
610 android : label =" @string/app_name"
1519 <intent-filter >
1620 <action android : name =" android.intent.action.MAIN" />
1721 <category android : name =" android.intent.category.LAUNCHER" />
22+ <!-- AndroidTV support -->
23+ <category android : name =" android.intent.category.LEANBACK_LAUNCHER" />
1824 </intent-filter >
1925 </activity >
2026
You can’t perform that action at this time.
0 commit comments