Skip to content

Commit 13ceabd

Browse files
authored
Merge pull request #2 from klarna/release/ios-v2.9.0
Release Klarna Mobile SDK iOS v2.9.0
2 parents bf70e6b + 075cab1 commit 13ceabd

File tree

3 files changed

+41
-15
lines changed

3 files changed

+41
-15
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.9.0] - 2025-10-20
9+
10+
- Separated payments integrations `KlarnaPaymentView` and `KlarnaExpressCheckoutButton` to a new `KlarnaPayments` library module.
11+
- Improved error handling and reporting for Sign in with Klarna flows.
12+
- Migrated to new Github repository to fix long fetching times using Swift Package Manager with large git history.
13+
- Fix internal handling of nullable booleans in payments integration.
14+
815
## [2.8.1] - 2025-09-25
16+
917
- Renamed `KlarnaPayment` module to `KlarnaNetworkPayment` to address naming conflict errors.
1018
- Internal optimizations and improvements.
1119

KlarnaMobileSDK.podspec

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
11
Pod::Spec.new do |s|
22
s.name = "KlarnaMobileSDK"
3-
s.version = "2.8.1"
3+
s.version = "2.9.0"
44
s.summary = "Klarna Mobile SDK for iOS"
55
s.description = <<-DESC
66
Klarna Mobile SDK for iOS apps.
77
DESC
8-
s.homepage = "https://github.com/klarna/klarna-mobile-sdk"
9-
s.license = { :type => "Apache License, Version 2.0", :text => "https://raw.githubusercontent.com/klarna/klarna-mobile-sdk/refs/heads/master/LICENSE" }
8+
s.homepage = "https://github.com/klarna/klarna-mobile-sdk-ios"
9+
s.license = { :type => "Apache License, Version 2.0", :text => "https://raw.githubusercontent.com/klarna/klarna-mobile-sdk-ios/refs/heads/master/LICENSE" }
1010
s.author = { "Klarna Mobile SDK Team" => "mobile.sdk@klarna.com" }
1111
s.platform = :ios, "10.0"
12-
s.source = { :http => "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaMobileSDK/2.8.1/XCFrameworks.zip" }
12+
s.source = { :http => "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaMobileSDK/2.9.0/XCFrameworks.zip" }
1313
s.requires_arc = true
1414
s.swift_version = "5.0"
1515

1616
s.subspec 'full' do |sb|
1717
sb.vendored_frameworks = [
1818
"KlarnaCore.xcframework",
19-
"KlarnaMobileSDK.xcframework"
19+
"KlarnaMobileSDK.xcframework",
20+
"KlarnaPayments.xcframework"
2021
]
2122
end
2223

2324
s.subspec 'basic' do |sb|
2425
sb.vendored_frameworks = [
2526
"KlarnaCore.xcframework",
26-
"KlarnaMobileSDK.xcframework"
27+
"KlarnaMobileSDK.xcframework",
28+
"KlarnaPayments.xcframework"
2729
]
2830
end
2931

@@ -35,6 +37,13 @@ Pod::Spec.new do |s|
3537
]
3638
end
3739

40+
s.subspec 'KlarnaPayments' do |sb|
41+
sb.vendored_frameworks = [
42+
"KlarnaCore.xcframework",
43+
"KlarnaPayments.xcframework"
44+
]
45+
end
46+
3847
s.default_subspec = 'basic'
3948

4049
end

Package.swift

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,43 @@ let package = Package(
77
products: [
88
.library(
99
name: "KlarnaMobileSDK",
10-
targets: ["KlarnaCore", "KlarnaMobileSDK"]
10+
targets: ["KlarnaCore", "KlarnaMobileSDK", "KlarnaPayments"]
1111
),
1212
.library(
1313
name: "KlarnaNetworkPayment",
1414
targets: ["KlarnaCore", "KlarnaNetworkCore", "KlarnaNetworkPayment"]
1515
),
16+
.library(
17+
name: "KlarnaPayments",
18+
targets: ["KlarnaCore", "KlarnaPayments"]
19+
)
1620
],
1721
dependencies: [],
1822
targets: [
1923
.binaryTarget(
2024
name: "KlarnaCore",
21-
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaCore/2.8.1/KlarnaCore.xcframework.zip",
22-
checksum: "61fea5f856a61e40dca435c771de91d58f38fad9e385c763706919d297179771"
25+
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaCore/2.9.0/KlarnaCore.xcframework.zip",
26+
checksum: "e8a10e97b5eb1d8f8ad9074d8e5084ec6777ab0f4b770cd27e95202dce00a28e"
2327
),
2428
.binaryTarget(
2529
name: "KlarnaMobileSDK",
26-
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaMobileSDK/2.8.1/KlarnaMobileSDK.xcframework.zip",
27-
checksum: "6f1c9a11df6065ddf35d582234f6ed52d299992e4e820076f5a90a3ae4f72538"
30+
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaMobileSDK/2.9.0/KlarnaMobileSDK.xcframework.zip",
31+
checksum: "c4d3cf59b28dd56a37923230f3b21ae12a68b881120db218ed7aab28d041c1ff"
2832
),
2933
.binaryTarget(
3034
name: "KlarnaNetworkCore",
31-
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaNetworkCore/2.8.1/KlarnaNetworkCore.xcframework.zip",
32-
checksum: "2a1d2700dd469c7babd3d9c9585149fd8d2ceb2444901c76da7432a86a0d9b70"
35+
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaNetworkCore/2.9.0/KlarnaNetworkCore.xcframework.zip",
36+
checksum: "6e168e663fc6173286a94104f298ca913560ebfb611ab4530f69f1b059a1b03b"
3337
),
3438
.binaryTarget(
3539
name: "KlarnaNetworkPayment",
36-
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaNetworkPayment/2.8.1/KlarnaNetworkPayment.xcframework.zip",
37-
checksum: "0a952b8541bd567bd28e52415bd3b3b756a60fc31de5d22966e022de7f7c7980"
40+
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaNetworkPayment/2.9.0/KlarnaNetworkPayment.xcframework.zip",
41+
checksum: "f048acbb20061f3395dac3c6574ed8db0c86bca69978989e97145f041f1ac940"
42+
),
43+
.binaryTarget(
44+
name: "KlarnaPayments",
45+
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaPayments/2.9.0/KlarnaPayments.xcframework.zip",
46+
checksum: "98f9c7c1d94ebb427700e4fdd9acfbaee1bf2a37572bae6b856625dbce62a99c"
3847
)
3948
]
4049
)

0 commit comments

Comments
 (0)