https://github.com/droiddevgeeks/jsbridge
https://github.com/droiddevgeeks/jsbridge
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/droiddevgeeks/jsbridge
- Owner: droiddevgeeks
- Created: 2025-02-17T07:34:34.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-18T18:33:32.000Z (over 1 year ago)
- Last Synced: 2025-02-18T19:39:27.999Z (over 1 year ago)
- Language: Kotlin
- Size: 101 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# payment-checkout
## Steps to Use & integrate
1. Init `CheckoutJsBridge` class & pass Activity context. Please init this in onCreate of activity.
2. When you are loading your payment page, then call `setJsBridge` method. It accepts WebView reference object & `JsMetaData` object.
## Usage
```kotlin
private var paymentJsBridge: CheckoutJsBridge? = null
paymentJsBridge = CheckoutJsBridge(this)
paymentJsBridge?.setJsBridge(
binding.paymentWebview,
JsMetaData(true, true)
)
```
## License
SDK is licensed under the MIT License.
See the LICENSE file distributed with this work for additional
information regarding copyright ownership.
Except as contained in the LICENSE file, the name(s) of the above copyright
holders shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written authorization.