Add Android TV app (Compose) with backend APIs, registration UI, and CI APK build - #2
Add Android TV app (Compose) with backend APIs, registration UI, and CI APK build#2hafriz wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a4b425c65c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| super.onCreate(savedInstanceState) | ||
| val store = MasjidSetupStore(getSharedPreferences("screen_setup", MODE_PRIVATE)) | ||
| setContent { | ||
| SetupScreen { id -> store.masjidId = id } |
There was a problem hiding this comment.
Show the paired screen after saving the ID
On any Android TV after the user enters a valid Masjid/Surau ID, this callback only persists the value and MainActivity still renders SetupScreen unconditionally on every composition and relaunch. I checked the Android sources and nothing else calls SmartScreen, PrayerRepository, or starts a sync, so the app never leaves setup or loads the tenant screen payload that this flow is supposed to pair.
Useful? React with 👍 / 👎.
Motivation
Description
android/*),AndroidManifest.xml,MainActivity.kt, Compose UI screens (SetupScreen.kt,SmartScreen.kt), audio helper (BeepSoundManager.kt), data models (PrayerModels.kt), networking (PrayerApi.kt,PrayerRepository.kt), and aPrayerSyncWorkerfor periodic sync.backend/app/Http/Controllers, modelsMosqueSetting,PrayerTime,ScreenContent,JakimPrayerTimeService, Blade views, API and web routes,backend/config/android.php, andbackend/public/android/latest.json.2026_07_20_000001_create_masjid_smart_screen_tables.phpto createmosque_settings,prayer_times, andscreen_contentstables and related casts/queries..github/workflows/android-tv.ymlthat runsgradle :app:assembleDebugon Android changes and uploads the debug APK artifact, plus.gitignoreentries and a top-levelREADME.mddescribing the feature and local validation commands.Testing
gradle :app:assembleDebugand uploads the debug APK artifact for commits affecting the Android files.Codex Task