Flutter
Device Connect Flutter SDK is used to collect anonymised non-PII data from the devices of the users after taking explicit user consent.
#
RequirementsDevice Connect Flutter SDK works on Android 5.0+ (API level 21+), on Java 8+ and AndroidX. In addition to the changes, enable desugaring to support older versions.
#
Add PluginSpecify the following in local.properties
file:
Add plugin dependency in pubspec.yaml
file:
NOTE
Following will be shared by FinBox team at the time of integration:
ACCESS_KEY
SECRET_KEY
DC_SDK_VERSION
COMMON_SDK_VERSION
COMMON_FLAVOR
LOGGER_SDK_VERSION
CLIENT_API_KEY
#
Create UserCall FinBoxDcPlugin.createUser
method to create the user. It takes Client Api Key and Customer Id as the arguments.
IMPORTANT
Please make sure CUSTOMER_ID
is not more than 64 characters and is alphanumeric (with no special characters). Also it should never null
or a blank string ""
.
As success result, you will get an 'accessToken'