mirror of
https://git.um-react.app/um/um-react.git
synced 2026-11-25 06:46:59 +00:00
- Added `detectPlatformRuntime` function to determine if the app is running in a Tauri environment. - Updated `createPlatformProvider` to switch between browser and Tauri providers based on runtime detection or explicit options. - Introduced `TauriProvider` with default capabilities and methods, currently returning `NotImplementedError` for unimplemented features. - Enhanced type definitions in `vite-env.d.ts` to include Tauri-specific environment variables. - Added tests for Tauri provider functionality and runtime detection to ensure correct behavior across platforms.