diff --git a/.github/partial-readmes/Installation.md b/.github/partial-readmes/Installation.md index bb0eb4b..9084996 100644 --- a/.github/partial-readmes/Installation.md +++ b/.github/partial-readmes/Installation.md @@ -35,10 +35,9 @@ platform :ios, '12.0' use_frameworks! target '' do - pod 'Risk', '~> 1.0' + pod 'Risk', '~> 0.0.2' end ``` - Then, run the following command in terminal: diff --git a/README.md b/README.md index a2b753f..4938ab5 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Risk iOS package - - +![license](https://img.shields.io/github/license/checkout/checkout-risk-sdk-ios.svg) + The package helps collect device data for merchants with direct integration (standalone) with the package and those using [Checkout's Frames iOS package](https://github.com/checkout/frames-ios). ## Table of contents @@ -27,7 +27,7 @@ The package helps collect device data for merchants with direct integration (sta ## Documentation ### Usage guide - 1. Add `Risk` as a package dependency - _see [Installation guide](https://github.com/checkout/checkout-risk-sdk-ios/blob/main/.github/partial-readmes/Integration.md) on how to add our SDK in your iOS app via SPM or Cocoapods._ + 1. Add `Risk` as a package dependency - _see [Installation guide](https://github.com/checkout/checkout-risk-sdk-ios/blob/main/.github/partial-readmes/Installation.md) on how to add our SDK in your iOS app via SPM or Cocoapods._ 2. Obtain a public API key from [Checkout Dashboard](https://dashboard.checkout.com/developers/keys). 3. Initialise the package with the `getInstance` method passing in the required configuration (public API key and environment), then publish the device data with the `publishData` method, see example below. ```swift