Skip to content

v1.0.55 - Companion CodeOSS Extension Rendering Fix for BlueStacks & Android 9

Choose a tag to compare

@parthasdey2304 parthasdey2304 released this 09 Sep 19:01
· 8 commits to main since this release

Vastavik Learning v1.0.55 Release Notes

馃殌 Companion CodeOSS Extension Rendering Fix & BlueStacks/Android 9 Hardware Compatibility

1. Root-Cause Resolution for Black/Blank Screen on Launch

  • Direct Native WebView Content View: Eliminated Compose AndroidView surface wrapping in companion-codeoss/MainActivity.kt. Direct setContentView(webView) completely resolves the OpenGL hardware layer composition conflict between Android Compose canvas and WebView on BlueStacks App Player and Android 9 (Pie 64-bit).
  • Correct Viewport & File URL Settings:
    • Configured allowFileAccessFromFileURLs = true and allowUniversalAccessFromFileURLs = true so local assets and Monaco loader modules load seamlessly without CORS/file-scheme restriction errors.
    • Set useWideViewPort = false and loadWithOverviewMode = false to prevent desktop viewport scaling and keep responsive 100% mobile view dimensions.
    • Set cacheMode = LOAD_NO_CACHE and mixedContentMode = MIXED_CONTENT_ALWAYS_ALLOW.
    • Added WebChromeClient and WebViewClient with verbose console logging and error diagnostics.

2. Viewport & Flex Container CSS Hardening (vscode/index.html)

  • Replaced width: 100vw; height: 100vh; with position: absolute; top:0; left:0; right:0; bottom:0; width:100%; height:100%; to prevent WebView measurement race conditions.
  • Added min-width: 0; min-height: 0; to all flex containers (#workspace-body, #main-stage, #terminal-pane, .term-body, #editor-pane, #monaco-mount), preventing flexbox container overflow.

3. Decoupled UI & Terminal Execution from Monaco Loader

  • Decoupled the top application bar, activity bar, file explorer, status bar, and interactive Ubuntu terminal from the Monaco AMD loader.
  • Terminal session (projects $, npm run dev, curl -s :3000, python3 -V, etc.) renders immediately upon app launch with 0ms delay.
  • Monaco Editor initializes gracefully in the background and mounts safely with defensive error handling.

4. Zero Password Barrier & Instant Access

  • Directly launches straight into the official VS Code Code-Server workspace and terminal.
  • No password prompt or authentication screen.

馃摝 Release Assets

  1. vastavikLearning-v1.0.55.apk: Main Vastavik Learning Android Application (versionCode = 55)
  2. vastavik-codeoss-extension.apk: CodeOSS Companion Extension APK (versionCode = 22)
  3. app-debug.apk: Standard Debug APK for Main App
  4. companion-codeoss-debug.apk: Standard Debug APK for Extension App