Fix auto-update issues: receiver lifecycle, permission checks, error handling

- SettingsScreen: Add DisposableEffect for BroadcastReceiver lifecycle management
- MainActivity: Add error logging and permission checks before download
- ApkDownloadManager: Add install permission validation with Settings.canRequestPackageInstalls()
- Add user feedback with Toast messages for all error cases
- Bump version to 1.11.6

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
sanjeok77
2026-03-17 07:40:47 +09:00
parent 5a14002c1d
commit b2e15c8111
6 changed files with 240 additions and 29 deletions

View File

@@ -1,11 +1,11 @@
{
"version": "1.11.5",
"versionCode": 22,
"updateUrl": "https://git.webpluss.net/sanjeok77/hotdeal_alarm/releases/download/v1.11.5/app-release.apk",
"version": "1.11.6",
"versionCode": 23,
"updateUrl": "https://git.webpluss.net/sanjeok77/NeFLIX_release/releases/download/v1.11.6/app-release.apk",
"changelog": [
"비저빌리티 새로고침 버그 수정",
"폴링 간격 설정이 저장되지 않던 문제 수정",
"배터리 부족 시에도 폴링 동작하도록 개선",
"부팅 시 저장된 폴링 간격 사용하도록 수정"
"자동 업데이트 설치 권한 체크 추가",
"업데이트 리시버 메모리 누수 수정",
"업데이트 체크 에러 처리 개선",
"설정 화면 업데이트 다운로드 진행률 표시"
]
}