Last updated:
0 purchases
desktop info
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);
copied to clipboard
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>
}
copied to clipboard
or just check as follows
✨ Contribution #
Lots of PR's would be needed to improve this plugin. Suggestions and PRs are highly welcome.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.