hadada_sdk 0.0.6 copy "hadada_sdk: ^0.0.6" to clipboard
hadada_sdk: ^0.0.6 copied to clipboard

PlatformAndroid

Connect to Hadada service

Hadada plugin for Flutter #

A plugin that makes accessing your financial data easy. Available for ios and Android

hadada example screenshot

Installation #

To use this plugin, add hadada_sdk as a dependency to your pubspec.yaml

Android Setup #

Add these permissions to your AndroidManifest.xml

    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.READ_SMS" />
    <uses-permission android:name="android.permission.SEND_SMS"/>
    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
    <uses-permission android:name="android.permission.READ_CALL_LOG" />
    <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_BACKGROUND_LOCATION" />

Description #

The HadadaCoreSDK is a plugin that allows you retrieve financial data from your customers. Before using this plugin, ensure you have have created an account on the developer portal

HadadaCoreSDK helps you retrieve financial data that allows you understand more about your customers financial profiles.This data has been categorized as

  1. Transaction Statement: Retrieve statments from your customers in real-time for up to a period of 12 months.
  2. Get Balance: Helps you retrieve real time balances of your customers account
  3. Income analysis: Income analysis: Perform an analysis of your customers income/earnings over a period of time. This can be done asynchronously or snychronously.
  4. Risk analysis: Perform an analysis of your customers risk profile e.g. ability to pay their loans and check credit worthiness. This can be done asynchronously or synchronously

Usage #

You can copy the dart code below and use it use. Replace "appkey" with your appkey. Your appkey is generated from Hadada portal. ExternalId is optional. If not provided, the plugin will automatically generate one for you.

import 'package:flutter/material.dart';
import 'package:hadada_sdk/hadada_sdk.dart';

class HadadaServiceExample extends StatelessWidget {
  const HadadaServiceExample({Key? key}) : super(key: key);
  final String appKey = "appkey";
  final String externalId = "externalId";
  @override
  Widget build(BuildContext context) => HadadaWidget(
        appKey: appKey,
        key: UniqueKey(),
        externalId: externalId,
      );
}

void main() {
  runApp(
    MaterialApp(
      home: const HadadaServiceExample(),
      theme: ThemeData(),
    ),
  );
}

Additional information #

If you have any question or concern, you can contact us on Hadada