flutter_izipay 1.1.1
flutter_izipay: ^1.1.1 copied to clipboard
A Flutter wrapper for the official IziPay Android and iOS SDKs
flutter_izipay #
A Flutter wrapper for the official IziPay Android and iOS SDKs, enabling seamless integration of direct payment functionalities into Flutter applications.
🚀 Features available #
- Direct Payment Support: Currently, the
payDirectlymethod is the only available feature in this version. - Yape Payment Support: Currently, the
payWithYapemethod is the only available feature in this version.
📋 Requirements #
Flutter #
- Flutter SDK: >=3.0.0
Platforms #
- Android: minSdkVersion 23
- iOS: >=16.0
📦 Installation #
Add this library to your pubspec.yaml file:
dependencies:
izipay_flutter_sdk: any
Android #
Para usar Izipay en android es necesario configurar el hilt
- En /android/build.gradle agregar al inicio del archivo
plugins {
id 'com.google.dagger.hilt.android' version '2.44' apply false
}
- En /android/app/build.gradle agregar a los plugins
plugins {
id 'kotlin-kapt'
id 'com.google.dagger.hilt.android'
}
- En /android/app/build.gradle agregar las dependencias
implementation "com.google.dagger:hilt-android:2.44"
kapt "com.google.dagger:hilt-compiler:2.44"
- En /android/app/build.gradle agregar las siguientes configuraciones para android
android {
buildFeatures {
viewBinding true
}
hilt {
enableAggregatingTask = false
enableExperimentalClasspathAggregation = true
}
}
- Crear una aplicación en kotlin
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class ExampleApplication : Application()
- Hacer referencia de la aplicación en el manifest
<application
android:name=".ExampleApplication"
/>
📚 Additional Resources #
For more information about the underlying SDKs and the complete payment platform, visit the official IziPay Documentation.