PGW SDK for Flutter
The 2C2P Payment Gateway (PGW) SDK For Flutter simplified integration solution for flutter platform with 2C2P Payment Gateway (PGW) SDK & 2C2P Payment Gateway (PGW) SDK Helper.
Changelog:
Version | Description | Resource |
---|---|---|
4.0.4 | Flutter: - Implement with PGW SDK v4.6.0 & PGW SDK Helper v4.1.1 features. | Flutter: - Download |
4.0.3 | Flutter: - Implement with PGW SDK v4.5.2 & PGW SDK Helper v4.1.0 features. | Flutter: - Download |
4.0.2 | Flutter: - Implement with PGW SDK v4.5.1 & PGW SDK Helper v4.0.0 features. | Flutter: - Download |
Getting Started
Flutter / Dart:
Add these to your package's pubspec.yaml file:
dependencies:
pgw_sdk: ^4.0.4
webview_flutter: ^4.7.0
Android:
Step 1: Add into your Android project proguard file.
#PGWFlutter
-keep class com.ccpp.pgw.sdk.flutter.** { *; }
-keepnames class com.ccpp.pgw.sdk.flutter.* { *; }
-keepnames interface com.ccpp.pgw.sdk.flutter.* { *; }
#com.fasterxml.jackson
-keep class com.fasterxml.jackson.** { *; }
-keepnames class com.fasterxml.jackson.* { *; }
-keepnames interface com.fasterxml.jackson.* { *; }
-dontwarn java.beans.ConstructorProperties
-dontwarn java.beans.Transient
iOS:
Step 1: Add deep link payment handle into your iOS Runner.xcodeproj. [Here]
Step 2: Add Apple Pay handle into your iOS Runner.xcodeproj. [Here]
System Requirements
The SDK has been developed on following platform version:
Platform | Minimum Version |
---|---|
iOS | 12.0+ |
Android | 21+ (OS 5.0) |
Dart | >=3.0.0 <4.0.0 |
Updated about 17 hours ago