https://github.com/monitork/flutter_momo
This plugin make MoMo payment method into your app.
https://github.com/monitork/flutter_momo
Last synced: 3 months ago
JSON representation
This plugin make MoMo payment method into your app.
- Host: GitHub
- URL: https://github.com/monitork/flutter_momo
- Owner: monitork
- License: other
- Created: 2020-01-19T16:46:01.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-04T21:41:26.000Z (over 5 years ago)
- Last Synced: 2025-01-12T18:50:57.400Z (5 months ago)
- Language: Ruby
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# flutter_momo
This plugin make MoMo payment method into your app.
## Getting Started
### Android
Config your AndroidManifest.xml
add tools:replace="android:label" inside open tag
add xmlns:tools="http://schemas.android.com/tools" inside open tag
```xml```
### IOS
1. Config your Plist file.
```xml
CFBundleURLTypes
CFBundleURLName
CFBundleURLSchemes
momopartnerscheme001
LSApplicationQueriesSchemes
momo
NSAppTransportSecurity
NSAllowsArbitraryLoads
```
2. Import SDK AppDelegate instance
```swift
import MomoiOSSwiftSdkfunc application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool {
MoMoPayment.handleOpenUrl(url: url, sourceApp: sourceApplication!)
return true
}func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any]) -> Bool {
MoMoPayment.handleOpenUrl(url: url, sourceApp: "")
return true
}
```