Skip to content

Tauri Plugin Device InfoCross-platform device information

Get device, battery, network, storage, and display info on all platforms

Preview

macOS Preview
Android PreviewiOS Preview

Platform Support

PlatformStatus
Windows✅ Full Support
macOS✅ Full Support
Linux✅ Full Support
iOS✅ Full Support
Android✅ Full Support

Quick Example

typescript
import { 
  getDeviceInfo, 
  getBatteryInfo,
  getNetworkInfo,
  getStorageInfo,
  getDisplayInfo
} from 'tauri-plugin-device-info-api';

// Get device information
const device = await getDeviceInfo();
console.log(device.model);  // "MacBook Pro"

// Get battery status
const battery = await getBatteryInfo();
console.log(`Battery: ${battery.level}%`);

// Get network info
const network = await getNetworkInfo();
console.log(`IP: ${network.ipAddress}`);

Released under the MIT License.