Skip to main content
This guide provides the installation and configuration steps for Tonder’s Flutter Lite SDK.

Prerequisites

You need to add the Skyflow Maven repository to your Android project configuration to handle secure data vaulting.
  1. Add the Skyflow Maven repository to your Android project configuration. This repository contains the secure data vaulting components required for PCI DSS compliance:
android/build.gradle
maven {
    url '[https://maven.pkg.github.com/skyflowapi/skyflow-android-sdk](https://maven.pkg.github.com/skyflowapi/skyflow-android-sdk)'
    credentials {
        username = 'username'
        password = 'password'
    }
}
  1. Enable AndroidX support in your project. This ensures compatibility with modern Android libraries and the Tonder SDK:
android/gradle.properties
android.useAndroidX=true

Installation

To install the Tonder Flutter Lite SDK, you need to add the Lite SDK package to your project and configure mobile environment permissions. The Lite SDK is designed for maximum flexibility and complete UI control, allowing you to build custom payment forms.

Step 1: Install the SDK Package

Add the Lite SDK package to your pubspec.yaml file or use flutter pub add:
flutter pub add tonder_sdk_lite

Step 2: Configure Mobile Environment Permissions

You must grant internet permissions for the SDK to function correctly on native devices.
  • Android
  • iOS / macOS
Add the INTERNET permission to your AndroidManifest.xml file.
<uses-permission android:name="android.permission.INTERNET" />

Next Steps

Now that you’ve successfully installed the Tonder Flutter Lite SDK, you’re ready to start integrating payments into your application with complete UI control. Follow these guides to complete your Flutter payment integration: