A Xamarin.Android binding library for Braintree DropIn iOS 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.
dotnet add package BraintreeDropIn.iOS --version 9.7.2.3
dotnet add package Xamarin.Swift --version 1.2.0
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 in the demo project.
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 for further details.
sh build.sh --target=binderate
sh build.sh --target=nuget --base-path=$PWD
This project is maintained by 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.
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 for details.