A cross platform plugin to get device and application details
- Unique DeviceID
- Screen Dimensions
- Manufacturer and Model
- Operating System
- Application Version Information
- Current Culture
- Power State Monitoring
- Network Monitoring
Platform | Version |
---|---|
NET Standard | v2+ |
Android | 4.3+ |
iOS | 6+ |
macOS | 10ish |
Windows UWP | 16299+ |
- Make sure to install the nuget package to your core net standard library as well as your platform projects (iOS, Android, etc)
Permissions
- Battery status - set permissions BATTERY_STATE and DEVICE_POWER
- Network Monitoring - set permission ACCESS_NETWORK_STATE
Make sure to install the nuget package in your platform and PCL projects. To use, simply start calling
CrossDevice.Device.<property>
CrossDevice.App.<property>
CrossDevice.PowerState.<property>
CrossDevice.Network.<property>
- DeviceId is coming back null
- Follow permission setting as listed above
- I'm getting "Platform implementation not supported"
- Ensure you have installed the nuget package on your actual application project
- UWP battery implementation doesn't do anything
- I haven't been able to find a way to support this yet
- The DeviceId changes if I uninstall my app from the phone
- There isn't a "static" ID on an iphone that really works. I use IdentifierForVendor()