LobeChat-Android/app
moreoronce 45f1e9636d feat: Add one-time LobeChat validation logic for WebViewActivity
- Introduced a boolean flag `isLobeChatVerified` to ensure LobeChat validation is executed only once for the initial page load.
- Modified `onPageFinished` in `WebViewClient` to check if the header contains "lobechat" text.
- Added logic to redirect the user back to `MainActivity` if the LobeChat validation fails.
- Prevent further validation checks on subsequent page loads once verified.
- This update ensures that unnecessary validation does not disrupt user activities, especially during interactions with third-party services like login.
2024-10-06 22:04:54 +08:00
..
src feat: Add one-time LobeChat validation logic for WebViewActivity 2024-10-06 22:04:54 +08:00
.gitignore init 2024-10-05 12:35:47 +08:00
build.gradle.kts feat: Add URL validation and prompt feature 2024-10-05 19:57:47 +08:00
proguard-rules.pro init 2024-10-05 12:35:47 +08:00