Swiftpack.co -  Package - tru-ID/tru-sdk-ios
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
tru-ID/tru-sdk-ios
tru.ID iOS SDK that enables an HTTP request to be made over cellular even when on WiFi
.package(url: "https://github.com/tru-ID/tru-sdk-ios.git", from: "0.0.12")

tru-sdk-ios

iOS SDK for tru.ID: Blazingly fast phone verification. Exposes APIs for instant, invisible strong authentication.

Swift Version License

Installation

Add this project on your Package.swift

import PackageDescription

let package = Package(
    dependencies: [
        .Package(url: "https://gitlab.com/tru-id/tru-sdk-ios.git", majorVersion: 0, minor: 0)
    ]
)

Usage example

import TruSDK
let tru: TruSDK = TruSDK()
tru.openCheckUrl(url: url, completion: completion)

Release History

  • 0.0.1
    • Work in progress
  • 0.0.2
    • RedirectManager openCheckUrl completion support
  • 0.0.3
    • Refactoring
  • 0.0.4
    • Naming
  • 0.0.5
    • Cleanup
  • 0.0.6
    • Logging
  • 0.0.7
    • Removing Port
  • 0.0.8
    • 307 Temporary Redirect support
  • 0.0.9
    • openCheckUrl completion changed
  • 0.0.10
    • receive instead of receiveMessage
    • Custom User-Agent tru-sdk-ios/{version}
  • 0.0.11
    • Helper method to fetch a JSON from a GET method over a cellular connection
  • 0.0.12
    • 303 See Other support

Meta

Distributed under the MIT license. See LICENSE for more information.

https://github.com/tru-ID

GitHub

link
Stars: 0
Last commit: 2 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco