top of page

Unveiling flutter_fidel_sdk: Integrate Fidel seamlessly into your Flutter project!


Fidel integration with Flutter Apps using Dribba's new Flutter package

We are incredibly excited to announce the release of our brand new Flutter package, flutter_fidel_sdk.


Built with love for the Flutter community, this package is set to enhance your experience while integrating the FidelSDK into your Flutter applications.


Fidel has been helping developers around the globe by providing an efficient way to link credit and debit cards with mobile apps, enabling frictionless card-linked loyalty, offering a powerful dashboard, and providing real-time transaction monitoring.


However, integrating Fidel into Flutter applications was a bit of a challenge — until now!


With flutter_fidel_sdk, integrating Fidek is a breeze. This package comes with a clear and easy-to-understand API, simplifying the process of adding Fidel's functionality to your apps.


Key Features:

  • Easy to integrate: Just a few lines of code are needed to integrate FidelSDK into your application.

  • Fully Cross-Platform: Works smoothly on both Android and iOS platforms, maximizing code reusability and consistency across platforms.

  • Flutter Friendly: Built with Dart, this package is native to Flutter. It integrates with your existing Flutter codebase seamlessly.


Getting Started

Adding flutter_fidel_sdk to your project is simple. Just include the following line in your pubspec.yaml file:

dependencies:
  flutter_fidel_sdk: ^0.0.1

Then, run flutter pub get to install the package. And voilà, you are now ready to integrate Fidel!


import 'package:flutter_fidel_sdk/flutter_fidel_sdk.dart';

...

final _flutterFidelSdkPlugin = FlutterFidelSdk();

///

Future<void> launchFidelSDK() async {
    _flutterFidelSdkPlugin.apiKey = "<YOUR_API_KEY>";
    _flutterFidelSdkPlugin.programKey = "<PROGRAM_KEY>";
    _flutterFidelSdkPlugin.programName = "<PROGRAM_NAME>";
    _flutterFidelSdkPlugin.termsAndConditionsURL = "https://fidel.uk";
    _flutterFidelSdkPlugin.customerIdentifier = "<YOUR_CUSTOMER_ID>";
    _flutterFidelSdkPlugin.allowedCountries = [FidelAllowedCountries.unitedStates, FidelAllowedCountries.canada];

    _flutterFidelSdkPlugin.launchFidelSDK(
        onCompleted: (data) {
          print(data);
        },
        onUserCancelled: () {
          print("User cancelled");
        },
        onFailed: (error) {
          print(error);
        });
  }

For more details on how to use this package, please refer to our repository example.


We truly believe that flutter_fidel_sdk will greatly ease the development process of integrating Fidel into your Flutter apps.


If you encounter any issues or have any suggestions, please feel free to contribute to our repository or reach out to us.


Happy coding!

bottom of page