Visit pub.dev to learn more about our flutter plugin:

pub version

Supported versions

Platform Supported versions
Android 5.0.0+
iOS 13.0.0+

Getting Started

Add this to your package’s pubspec.yaml file:

dependencies:
  ironchip_lbfraud: ^2.0.12

Android

In order to use fraud detection in Android, some permissions are advised. Although the plugin will still work without the permisions, the accuracy will be decreased. We advise to place the permissions in your applications to get the full potential.

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />

<uses-permission android:name="android.permission.INTERNET" />

Remember that the user has to accept the permissions in order for them to take effect.

iOS

To be able to use Ironchip LBFraud you will need to add to the target of your app a capability so go to Singing and Capabilities and add access Wifi Information.

setup ios

And to use it in iOS, you have to add this permissions in Info.plist:

Privacy - Location Always and When In Use Usage Description, and insert the description as string
Privacy - Location When In Use Usage Description, and insert the description as string
Privacy - Location Always Usage Description, and insert the description as string
LSApplicationQueriesSchemes, and insert the description (this permission is to be able to know if the device is jailbroken)