Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/naxam/braintree-ios-binding
Xamarin Binding Library - Braintree iOS SDK
https://github.com/naxam/braintree-ios-binding
applepay braintree braintree-ios braintree-ios-sdk braintree-sdk paypal unionpay venmo xamarin xamarin-ios-binding
Last synced: about 1 month ago
JSON representation
Xamarin Binding Library - Braintree iOS SDK
- Host: GitHub
- URL: https://github.com/naxam/braintree-ios-binding
- Owner: NAXAM
- License: other
- Created: 2017-05-28T06:47:07.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T00:06:02.000Z (5 months ago)
- Last Synced: 2024-11-13T17:49:53.652Z (about 2 months ago)
- Topics: applepay, braintree, braintree-ios, braintree-ios-sdk, braintree-sdk, paypal, unionpay, venmo, xamarin, xamarin-ios-binding
- Language: Objective-C
- Size: 182 MB
- Stars: 8
- Watchers: 2
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BrainTree for Xamarin.iOS
A Xamarin.Android binding library for [Braintree DropIn iOS](https://cocoapods.org/pods/BraintreeDropIn) library.
> The library used to be under the name of `Naxam.BraintreeDropIn.iOS`. Naxam is no longer in business for years hence I remove the trademark from the name and hope it more neutral for the community to contribute.
## Installation
```
dotnet add package BraintreeDropIn.iOS --version 9.7.2.3
dotnet add package Xamarin.Swift --version 1.2.0
```## Usage
This project is to provide C# libraries for corresponding libraries in Swift/Objective, however, the APIs are very similar.
Here are snippets which could be found in [ViewController](./samples/DropInQs/ViewController.cs) in the demo project.
### Action
```c#
private void ShowDropIn(string clientTokenOrTokenizationKey)
{
var request = new BTDropInRequest();var dropIn = new BTDropInController(authorization: clientTokenOrTokenizationKey, request: request, handler: HandleDropInResult);
PresentViewController(dropIn!, animated: true, completionHandler: null);
}
```Plz follow official guide from Braintree [here](https://developer.paypal.com/braintree/docs/start/hello-client/ios/v5) for further details.
## Run on your machine
- Generate project files
```
sh build.sh --target=binderate
```
- Pack nuget packages
```
sh build.sh --target=nuget --base-path=$PWD
```## Maintainer
This project is maintained by [tuyen-vuduc](https://github.com/tuyen-vuduc) in his spare time and/or when requested.If you find this project is useful, please give it a star, become a sponsor of the project and/or buy him a coffee.
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/tuyen.vuduc)
## License
Braintree native libraries and its dependencies are licensed under their original owners' licenses. Please check out their main website for further information.
Braintree binding libraries for iOS is released under the MIT license. See [LICENSE](./LICENSE) for details.