desktop_info 1.0.0 copy "desktop_info: ^1.0.0" to clipboard
desktop_info: ^1.0.0 copied to clipboard

Desktop Info is a plugin to get on device information from desktop OS environments

Desktop Info #

Desktop Info is a plugin to get on device information from desktop OS environments, currently only MacOS is Support, feel free to make PRs for others.

🚀 Usage #

  
   String data = await MacOSInfo.systemInfo(
            resultType: MacOSInfoResultType.json, //return as JSON
            type: MacOSInfoType.basic // return Basic data
        );

   print(data);
   
  • resultType can either be json/xml
  • type can either be basic, or mini

🤔 MacOS setup #

You might need to add the following to Release.entitlements file.

    <key>com.apple.security.device.audio-input</key>
	<true/>
	<key>com.apple.security.device.bluetooth</key>
	<true/>
	<key>com.apple.security.device.camera</key>
	<true/>
	<key>com.apple.security.device.usb</key>
	<true/>
	<key>com.apple.security.network.client</key>
	<true/>
	<key>com.apple.security.network.server</key>
  }

or just check as follows

✨ Contribution #

Lots of PR's would be needed to improve this plugin. Suggestions and PRs are highly welcome.

2
likes
40
pub points
8%
popularity

Publisher

verified publishercodenka.com

Desktop Info is a plugin to get on device information from desktop OS environments

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on desktop_info