ios_device_check 0.0.6 ios_device_check: ^0.0.6 copied to clipboard
Flutter plugin for iOS DeviceCheck.
ios_device_check #
Flutter plugin for iOS DeviceCheck.
Installation #
To use this plugin, add ios_device_check
as a dependency in your pubspec.yaml file
Usage #
// Whether DeviceCheck is supported by the current device.
bool isAvailable = await IosDeviceCheck.isSupported
// Generate token
String token = await IosDeviceCheck.generateToken()
Note #
DeviceCheck API is only supported on iOS 11.0 or newer.
If the plugin is invoked on unsupported platform, it will throw error.