Bump version to 0.1.13 and remove unused mobile.rs

- Update version in tauri.conf.json to 0.1.13
- Remove incomplete and unused mobile.rs file

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-10 02:14:31 +01:00
parent 75093485bd
commit c551641737
2 changed files with 1 additions and 34 deletions

View File

@ -1,33 +0,0 @@
use tauri::command;
#[command]
pub async fn open_file_with_provider(path: String, mime_type: Option<String>) -> Result<(), String> {
#[cfg(target_os = "android")]
{
open_file_android(path, mime_type).await
}
#[cfg(not(target_os = "android"))]
{
// On other platforms, use the opener plugin
use tauri_plugin_opener::OpenerExt;
tauri::AppHandle::opener()
.open_path(path, None::<&str>)
.map_err(|e| e.to_string())
}
}
#[cfg(target_os = "android")]
async fn open_file_android(path: String, mime_type: Option<String>) -> Result<(), String> {
use jni::{
objects::{JObject, JString, JValue},
JNIEnv,
};
use tauri::Manager;
// This will be called from the Rust side
// We need to call into the Android Activity to use FileProvider
// For now, return an error - we need to implement the Java/Kotlin side first
Err("Android FileProvider implementation needed".to_string())
}

View File

@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "haex-hub",
"version": "0.1.4",
"version": "0.1.13",
"identifier": "space.haex.hub",
"build": {
"beforeDevCommand": "pnpm dev",