Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/trustlyinc/trustly-ios

Trustly SDK for Apple iOS platforms
https://github.com/trustlyinc/trustly-ios

cocoap ios swift

Last synced: about 1 month ago
JSON representation

Trustly SDK for Apple iOS platforms

Awesome Lists containing this project

README

        

# TrustlySDK

[![License](https://badgen.net/badge/license/MIT/blue?icon=swift)](https://cocoapods.org/pods/TrustlySDK)
[![Swift Version](https://badgen.net/badge/swift/5/orange?icon=swift)](https://cocoapods.org/pods/TrustlySDK)
[![Platform](https://badgen.net/badge/iOS/v12/green?icon=swift)](https://cocoapods.org/pods/TrustlySDK)
[![Cocoapods Version](https://badgen.net/badge/cocoapods/v1.12.0/blue?icon=swift)](https://cocoapods.org/pods/TrustlySDK)
[![Pod Version](https://badgen.net/badge/pod/v3.0.0/yellow?icon=swift)](https://cocoapods.org/pods/TrustlySDK)
[![Swift Package Maager](https://badgen.net/badge/spm/available/green?icon=swift)](https://cocoapods.org/pods/TrustlySDK)

## Example App
---
To run the example project, clone the repo, and run `pod install` from the Example directory first.

## Requirements
---
- iOS 12 or higher

## Installation
---

Cocoapods

TrustlySDK is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod 'TrustlySDK'
```

For development and test reasons, you can install the pod from a branch in github:
```ruby
pod 'TrustlySDK', :git => 'https://github.com/TrustlyInc/trustly-ios.git', :branch => ''
```

Swift Package Manager - SPM


TrustlySDK is available through [Swift Package Manager](https://cocoapods.org). To install
it, simply click on File -> Add packages -> Search or Enter Package URL, paste the github url about this package `https://github.com/TrustlyInc/trustly-ios.git`:

![Add package url](docs/images/swift_package_manager.png)

For production reason choose the `main` branch, but for test or validation choose the branch described in the [release version table](#versions).


## Usage

To quickly get up and running with this SDK see the [iOS Quickstart](https://amer.developers.trustly.com/payments/docs/ios-quickstart) in the Trustly Developer Documentation.


## Versions
___

| VERSION | DESCRIPTION | BRANCH |
| :-------: | :----------- | :----------- |
3.2.2 | Fix a bug when we try to check if the sdk is loading a error page(400 and 500) | *main*
3.2.1 | Prepare the sdk to support Buck build system | *main*
3.2.0 | Add PrivacyInfo.xcprivacy | *main*
3.1.1 | Fix minor bug when use the SDK in local environment | *main*
3.1.0 | Add SessionCid to to distinct widget impressions and transactions | *main*
3.0.0 | Add cocoapods, and swift package manager support | *main*


## License
___

TrustlySDK is available under the MIT license. See the LICENSE file for more info.