Adds an ImmichClient for Android to connect to a self-hosted Immich server, fetch albums and assets, and import selected images locally. API keys are encrypted with Android Keystore and stored securely. The plugin now exposes connect, disconnect and import actions and is documented for Immich import usage. - Encrypted Immich API keys with Android Keystore - Exposed connect, disconnect and import actions in the plugin - Updated docs and metadata to reflect Immich import flow
26 lines
520 B
Rust
26 lines
520 B
Rust
const COMMANDS: &[&str] = &[
|
|
"get_state",
|
|
"get_gallery",
|
|
"select_images",
|
|
"delete_image",
|
|
"get_image_ids",
|
|
"delete_images",
|
|
"set_image_crop",
|
|
"set_setting",
|
|
"set_interval",
|
|
"next_wallpaper",
|
|
"get_immich_connection",
|
|
"connect_immich",
|
|
"disconnect_immich",
|
|
"get_immich_albums",
|
|
"get_immich_assets",
|
|
"import_immich_assets",
|
|
];
|
|
|
|
fn main() {
|
|
tauri_plugin::Builder::new(COMMANDS)
|
|
.android_path("android")
|
|
.ios_path("ios")
|
|
.build();
|
|
}
|