flutter_kgo_vnpay 0.0.2+3 flutter_kgo_vnpay: ^0.0.2+3 copied to clipboard
A plugin to connect vnpay using the newest version vnpay sdk 1.0.25 android and 1.0.4 ios, working fine with app to app scheme.
flutter_kgo_vnpay #
A new Flutter plugin to connect with vnpay sdk.
Getting Started #
This project is a starting point to connect with vnpay sdk vnpay,
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
iOS
In the ios/Runner/Info.plist let’s add:
<dict>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSAllowsArbitraryLoadsInWebContent</key>
<true/>
</dict>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>vnpayxxx</string>
<key>CFBundleURLSchemes</key>
<array>
<string>vnpayxxx</string>
</array>
</dict>
</array>
Android
Usage #
1. Depend
Add this to you package's pubspec.yaml
file:
dependencies:
flutter_kgo_vnpay: ^0.0.2+3
2. Install
Run command:
$ flutter pub get