Features:
- Static Code Analyzer:
Introduced Detekt for static analysis and applied several refactorings (e.g., reducing nested block depth and other rule changes) to address warnings. - Browser-Based Authentication:
Added support for login and registration via a browser custom tab, enabling third-party authentication flows.
Fixes:
- Course & Unit Handling:
- Fixed the issue with dataValue for CourseOutline.
- Addressed problems handling units with no descendants and prevented a crash when retrieving the first topic.
- Transcription & Analytics:
- Caught exceptions during transcription file parsing.
- Improved analytics event tracking and added missing events.
- Bulk Download & Offline Mode:
- Fixed a crash during bulk downloads by validating progress values.
- Resolved issues with opening courses in offline mode.
Chores & Refactors:
- Video Playback & Network Handling:
Enabled auto-play for videos when ready and handled the “no network” error for Webview. - Static Analyzer Refactoring:
Made additional minor rule changes and code adjustments as part of the static analyzer integration.
Full Changelog: v2.0...v2.1