Foloosi
  • INTRODUCTION
  • FEATURES
  • Get Started
    • Create Api Credentials
    • Checkout Page Customization
  • Payment Methods
    • Popup Payment Method
    • Hosting Payment Method
    • Saved Card Payment Method
  • CLIENT SIDE INTEGRATIONS
    • Javascript Integration
      • Create Payment Token
      • Payment Widget Initialization
      • Payment Response Handling
      • Additional Setup
      • Sample Integrations
    • PHP Integration
      • Create Payment Token
      • Payment Widget Initialization
      • Payment Response Handling
      • Additional Setup
      • Sample integrations
    • React JS Integration
      • Create payment Token
      • Payment Widget Initialization
      • Payment Response Handling
      • Additional Setup
    • Angular JS Integration
      • Create payment Token
      • Payment Widget Initialization
      • Payment Response Handling
      • Additional Setup
  • ECOMMERCE INTEGRATIONS
    • WooCommerce
    • CS Cart
    • Ecwid
    • Opencart
    • Magento
    • Prestashop
  • MOBILE SDK INTEGRATIONS
    • Android SDK
      • Initiate Payment
      • Payment Response Handling
    • iOS SDK
      • Initiate Payment
      • Payment Response Handling
    • React Native SDK
      • Make Payment
    • Flutter SDK
      • Installation
      • Make Payment
      • Sample Dart Program
  • SUBSCRIPTIONS
    • Foloosi Subscription for WooCommerce
    • Api Subscription
      • Sample Integration
    • Subscription
  • WEBHOOKS
  • PARTNER PAYOUT
  • CARD DETAILS
    • Test Cards
Powered by GitBook
On this page
  • Basic Requirements
  • Android Requirement
  • iOS Requirement
  • Developed by
  • License

Was this helpful?

  1. MOBILE SDK INTEGRATIONS

Flutter SDK

Integrate Our Flutter SDK For Seamless Payments ! This SDK is compatible with Android and iOS.

PreviousMake PaymentNextInstallation

Last updated 1 month ago

Was this helpful?

Basic Requirements

  • Foloosi merchant account - .

  • Create api credentials - .

Dart Versions

environment:
  sdk: ">=2.12.0 <4.0.0"

Android Requirement

Set up Android build.gradle (android/app/build.gradle)

android {
    defaultConfig {
        minSdkVersion 21
    }
    buildTypes {
        release {
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.release
        }
    }
}

Proguard Rules (Mandatory for release build)

-keepclassmembers class * {
    @android.webkit.JavascriptInterface <methods>;
}

-keepattributes JavascriptInterface
-keepattributes *Annotation*

-dontwarn com.foloosi.**
-keep class com.foloosi.* {*;}

-optimizations !method/inlining/*

Note

  • 4.1.0 or higher is required for settings build.gradle

  • 1.4.30 or higher is required for kotlin version

iOS Requirement

iOS Deployment Target 12+ (iPhone, iPad)

SDK Properties

If you are using secret and merchant keys as strings in flutter, Remember to escape the dollar sign although it is recommended to load these from backend.

sample escape string

merchantKey: 'key_\$2\$1\$1xxxxxxxxxxxxxxxxxxxxx'

NOTE

Supports 170 World Currencies

Apple pay will be available only when API mode is in live.

Support

Developed by

Foloosi Technologies Pvt Ltd.

License

Copyrights (c) 2025 Foloosi

Visit for support requests or email to [email protected].

https://www.foloosi.com
click here to sign up
click here to create
pub package