Files
LANChat/src-tauri/capabilities
captain fb250964e1 feat(android): Add file opening and media token management
- Add openFile() method to MainActivity for opening files with native apps
- Implement open_file_in_android command to trigger file opening on Android
- Add get_media_token command for obtaining media proxy tokens
- Add close_android_fd command for closing Android file descriptors
- Enhance AndroidFile::from_content_uri() with exception handling for expired permissions
- Add query_content_uri_info() to retrieve file metadata (name, size) from content URIs
- Add get_media_token_from_uri() for generating media proxy tokens
- Add close_fd() method to properly close file descriptors
- Update Cargo.toml with tokio-util dependency for IO utilities
- Add new permissions to mobile.json capabilities
- Create android-share-out.toml with three new permission definitions
- Update README with new in-progress features for Android file handling and deduplication
- Improve error handling and logging throughout Android file operations
2026-04-04 22:32:57 +08:00
..
2026-03-08 16:33:57 +08:00