An open API service indexing awesome lists of open source software.

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.

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 MomoiOSSwiftSdk

func 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
}
```