Skip to content

v1.0.59 - Learn Refresh Hotfix (Build Fix)

Choose a tag to compare

@parthasdey2304 parthasdey2304 released this 11 Sep 07:10
· 3 commits to main since this release
8e34e29

Vastavik Learning v1.0.59 - Release Notes

Welcome to Vastavik Learning v1.0.59! This hotfix corrects the Learn screen build failure introduced while adding instant refresh, leaving the refresh button intact for instant video updates after admin uploads. The app now builds cleanly and the Learn Duolingo path refreshes on demand.


What's New and Improved

1. Learn Screen Build Fix (Brace Correction)

  • Fix: removed the extra PullToRefreshBox wrapper that caused Expecting a top level declaration at LearningPathScreen.kt:641 during kaptGenerateStubsReleaseKotlin.
  • Kept: the Refresh button inside the LazyColumn (after course chips) that calls viewModel.refresh() with force=true — GET /api/v1/catalog/home?force=true and GET /api/v1/courses/{id}/curriculum?force=true plus invalidate_catalog_cache() on the backend — so new videos appear instantly when Learn is re-clicked or the button is tapped (Duolingo-style path updates).
  • Result: BUILD SUCCESSFUL in 6m15s, no tar.gz/zip, only the two APKs.

2. Version Bump for Hotfix

  • App versionCode 59 / versionName 1.0.59 (app/build.gradle.kts:21) and Companion versionCode 26 / versionName 1.0.59 (companion-codeoss/build.gradle.kts:15) so the updater correctly detects 1.0.58 → 1.0.59.

Release Assets

Asset Description Size
vastavikLearning-v1.0.59.apk Main Vastavik Learning Android app (versionCode 59, versionName 1.0.59, minSdk 24, targetSdk 35) ~60.6 MB
vastavik-codeoss-extension.apk CodeOSS Companion Extension Pack with Monaco/VS Code Web and Ubuntu Terminal (versionCode 26, versionName 1.0.59) ~13.4 MB

Upgrade Notes

  • Install vastavikLearning-v1.0.59.apk over your existing build — user data, login session, and user_profile prefs are preserved. The companion APK is side-by-side.
  • After this update, the Learn tab's Refresh button and the backend ?force=true cache bust ensure that videos uploaded in https://vastavikadmin.vercel.app/dashboard/videos appear in the app's Duolingo path without killing the app.
  • If you are on 1.0.58 and saw a build failure in CI, this hotfix resolves it; no data migration is needed.

Built with love by the Vastavik Learning Team