项目
在 GitHub 查看 







UmairKhalid786/ComposeTv
关于
使用 Jetpack Compose TV API 构建的 Android TV 应用。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文ComposeTv
Android TV sample app built with Jetpack Compose for TV, Hilt, Ktor, and Media3.
TMDB Login
The login screen uses TMDB's v3 user authentication flow.
Requirements
- Configure a TMDB API key before running the app.
- Use a TMDB username and password on the login screen. TMDB does not accept email for this API flow.
You can provide the API key with either option:
export TMDB_API_KEY="your_api_key_here"
or:
# ~/.gradle/gradle.properties
tmdbApiKey=your_api_key_here
How It Works
When the user signs in, the app calls TMDB in this order:
POST /authentication/token/newto create a request token.POST /authentication/token/validate_with_loginwith the TMDB username, password, and request token.POST /authentication/session/newto exchange the validated token for a TMDBsession_id.
The resulting session_id is stored through the app's UserSession layer. After a successful login, the app navigates to the "Who Is Watching" screen and then into Home.
Notes
- The app stores the TMDB session id, not the user's password.
- If the device is behind an HTTPS-intercepting proxy, debug builds may need a trusted user certificate.
- If the TMDB API key is missing, the login screen shows a configuration error instead of attempting authentication.
Screens
Login
Who is watching
Home Hero Item
Hero Item Focused
Home Top Pick
Music
Player Screen
Movie Detail
Movie detail view more
探索相关项目
加载中…