Skip to content

Conversation

@gedeondoescode
Copy link
Contributor

  • Update Kotlin version to 2.2.20
  • Update sd-mobile-core with modern expo-modules API to successfully compile on Android
  • added android to build-mobile xtask
  • updated CONTRIBUTING.md
  • Added openssl-sys to sd-mobile-core as a workaround for native Android builds
  • Switched from deprecated @react-native-community/clipboard

- Update Kotlin version to 2.2.20
- Update sd-mobile-core with modern expo-modules API to successfully
  compile on Android
- added android to build-mobile xtask
- updated CONTRIBUTING.md
- Added `openssl-sys` to sd-mobile-core as a workaround for native
  Android builds
- Switched from deprecated @react-native-community/clipboard
@gedeondoescode gedeondoescode requested review from a team as code owners December 8, 2025 01:56
@gedeondoescode
Copy link
Contributor Author

Sorry in advance, Jamie, for this one big commit 🙃

@cursor
Copy link

cursor bot commented Dec 9, 2025

PR Summary

Add Android build support: detect targets, download native deps, build artifacts, and extend config with NDK/env details; also add Android data dir in core config.

  • Build/xtask:
    • Detect Android Rust targets and download per-target native deps via download_android_deps.
    • Build sd-mobile-core for aarch64-linux-android and x86_64-linux-android.
    • Gate iOS dependency download/build to macOS only.
  • Config generation (xtask/src/config.rs):
    • Add android_ndk_home, host_tag, and has_android to mustache context; derive from ANDROID_NDK/ANDROID_NDK_HOME and host OS/arch.
    • Detect Android targets alongside iOS; include mobile deps path.
  • Core config (core/src/config/mod.rs):
    • Add Android-specific data directory using dirs::data_dir().join("spacedrive").

Written by Cursor Bugbot for commit 8e4d6d0. Configure here.

@jamiepine jamiepine merged commit 5568182 into spacedriveapp:main Dec 9, 2025
1 check passed
@jamiepine
Copy link
Member

This is awesome thank you!

@gedeondoescode gedeondoescode deleted the setup-android branch December 9, 2025 02:29
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