Klarna Docs - iOS - Getting started

iOS - Getting started

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

BASH
pod 'KlarnaCheckoutSDK'

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

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>