Klarna Docs - iOS - Getting started

iOS - Getting started

ADDING THE SDK

You can either use Cocoapods, or manually install the Klarna Checkout SDK for mobile apps in your environment.

Cocoapods

BASH
pod 'KlarnaCheckout'

Manual installation

If you don’t use Cocoapods, manually download the iOS SDK framework from github and link the dependencies

JAVASCRIPT
  MobileCoreServices
  SafariServices
  JavascriptCore
  SystemConfiguration
  WebKit
  Security
  CFNetwork

PREPARE YOUR APP

Klarna Checkout needs to be able to open external apps, since this is required in some consumer authentication scenarios.

Add the following configuration in your Info.plist:

MARKUP
<key>LSApplicationQueriesSchemes</key>
<array>
<string>bankid</string>
</array>