Update version numbers and enhance error handling in watch screen
- Updated package versions in pubspec.lock for improved stability, including firebase_core to 3.13.1 and firebase_analytics to 11.4.6.
- Incremented app version to 1.0.41 in pubspec.yaml and build.gradle.
- Introduced enhanced error handling in watch screen to better detect and manage M3U8 segment errors, improving user feedback during playback issues.
- Updated button color in movie description section for better visual consistency.
Add ConnectivityProvider and NetworkErrorWidget for improved network handling
- Introduced ConnectivityProvider to monitor network status and manage connectivity checks.
- Added NetworkErrorWidget to display network-related errors and provide retry options.
- Updated various screens (HomeScreen, MemberScreen, BrowseScreen, RankingsScreen) to utilize the new connectivity features, enhancing user experience during offline scenarios.
- Refactored error handling in HomeScreen to leverage NetworkErrorWidget for better user feedback.
Update dependencies and enhance search screen functionality
- Updated firebase_core to version 3.13.1 and firebase_analytics to version 11.4.6 for improved stability and performance.
- Enhanced search screen behavior by introducing suggestion visibility toggling and improved user interaction through gesture detection, allowing users to dismiss suggestions by tapping outside the search area.
Update pubspec.lock, enhance SystemUIManager, and introduce AppBorderRadius constants
- Updated package versions in pubspec.lock for improved compatibility and performance.
- Enhanced SystemUIManager to prevent concurrent UI changes with a new flag.
- Introduced AppBorderRadius constants for consistent border radius usage across the app, improving UI consistency.
- Refactored various UI components to utilize the new AppBorderRadius constants, ensuring a unified design approach.
Update dependencies, enhance Kotlin and Java configurations, and improve UI elements
- Updated Kotlin version from 2.1.10 to 2.1.21 and Gradle plugin from 8.1.0 to 8.10.0 for better compatibility and performance.
- Ensured Java 11 compatibility across Android projects by setting compile options and Kotlin JVM target.
- Removed 'wasu' from ad-free routes in server_flutter.js and movie detail screens for consistency.
- Enhanced UI elements in DownloadsScreen and MovieDetailScreen for improved user experience, including better layout handling and responsive design adjustments.
- Deleted unused download configuration file to streamline the codebase.
- Introduced ad insertion service to manage ad processing for video URLs, improving monetization capabilities.
Enhance UI management and state handling in SystemUIManager and DownloadsScreen
- Improved brightness determination logic in SystemUIManager to handle context availability more gracefully.
- Added a safe method for setting browsing mode without requiring context, enhancing stability during widget disposal.
- Refactored state management in DownloadsScreen to ensure safe updates and prevent errors when the widget is disposed.
- Introduced responsive layout adjustments in MovieDetailScreen for better UI consistency across different view modes.
Enhance authentication and animation handling
- Introduced enhanced authentication state management in AuthProvider, including periodic checks and retry logic for verification.
- Added new constants for animation durations and curves related to swipe back gestures, improving user experience during navigation.
- Implemented safe state updates in DownloadsScreen to prevent errors when the widget is disposed.
- Enhanced notification UI with improved styling and haptic feedback for better user interaction.
Add offline video support and filtering in history management
- Introduced
isOffline field in the Video model to distinguish between offline and online videos.
- Enhanced the HistoryScreen to support filtering by online and offline videos, improving user experience.
- Updated history management logic to prioritize offline videos during merging and sorting.
- Implemented UI changes to indicate offline status for videos in both history and watch history sections.
- Refactored related methods to ensure consistent handling of offline video removal and display.
Enhance download performance and reliability in DownloadService
- Increased concurrency for segment downloads from 5 to 12, improving download speed.
- Reduced retry count from 8 to 5 for faster failure handling.
- Simplified segment validation with a minimum size check of 50 bytes.
- Lowered completion threshold from 98% to 80% for quicker download completion.
- Optimized timeout settings and memory management for better performance.
- Introduced robust M3U8 playlist generation with integrity validation to ensure playback reliability.
- Updated progress update frequencies and state persistence intervals to reduce overhead.
Summarize the above update log with point form in concise and easier understanding, its for user to read, use simplified chinese