Skip to content

feat: Convert Android app to Kotlin with modern storage API#12289

Closed
tstapler wants to merge 2 commits intologseq:masterfrom
tstapler:kotlin-android-improvements
Closed

feat: Convert Android app to Kotlin with modern storage API#12289
tstapler wants to merge 2 commits intologseq:masterfrom
tstapler:kotlin-android-improvements

Conversation

@tstapler
Copy link
Copy Markdown

@tstapler tstapler commented Jan 2, 2026

This PR converts the Android app from Java to Kotlin and updates it to use the modern storage API.

Changes Made

Android App Modernization

  • Convert Java to Kotlin: Migrate MainActivity.java, FolderPicker.java, FsWatcher.java to Kotlin
  • Modern Storage API: Update to use com.google.modernstorage for better file handling
  • Kotlin Best Practices: Apply Kotlin idioms and null safety features
  • Build Configuration: Update Gradle files for Kotlin support

CI Workflow Improvements

  • Fork Compatibility: Workflows now work without requiring main repo secrets
  • Unsigned Builds: Generate unsigned APKs when keystore not available
  • Platform Support: Linux and macOS builds (removed Windows)
  • Trigger Updates: Only run on pull requests and manual dispatch

Testing Status

  • ✅ Android build compiles successfully
  • ✅ Kotlin conversion maintains functionality
  • ✅ CI workflows validated with actionlint
  • ✅ Fork compatibility confirmed

Artifacts

The workflows will produce:

  • Unsigned Android APK builds
  • Linux and macOS desktop application builds

- Convert Java files to Kotlin with modern Android APIs
- Update build.gradle files with latest configurations
- Rename .java files to .kt extensions
- Add Kotlin-specific dependencies and settings
- Change triggers to pull_request + workflow_dispatch only
- Make Android secrets optional, skip signing when keystore missing
- Remove Windows builds, keep Linux + macOS only
- Make Apple signing optional when certificates missing
- Disable Sentry when token not provided
- Allow unsigned builds for development
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@tstapler tstapler closed this Jan 2, 2026
@tstapler tstapler deleted the kotlin-android-improvements branch January 2, 2026 00:01
@tstapler tstapler restored the kotlin-android-improvements branch January 2, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants