Skip to content

Commit 8648422

Browse files
authored
Merge pull request #272 from klarna/release/ios-v2.8.0
Release Klarna Mobile SDK iOS v2.8.0
2 parents 420241c + 3adc91e commit 8648422

File tree

3 files changed

+39
-6
lines changed

3 files changed

+39
-6
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ 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.8.0] - 2025-09-23
9+
10+
- Added support for Klarna Payment integration as part of Klarna Network.
11+
- Added Shopping Session integration as part of Klarna Network.
12+
- Added two new modules `KlarnaNetworkCore` and `KlarnaPayment` to support Klarna Network with least size impact to the integrating applications.
13+
- Added more secure persistence support, including supporting expiry time for stored data.
14+
- Added theme property to WebViews to support dark mode in Klarna components.
15+
- Reverted deprecation of `KlarnaWebView`.
16+
- Fixed payment wrapper asset loading issue on first use.
17+
- Internal optimizations and improvements.
18+
819
## [2.7.3] - 2025-08-29
920

1021
- Fixed OSM style not being applied to links in placements.

KlarnaMobileSDK.podspec

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "KlarnaMobileSDK"
3-
s.version = "2.7.3"
3+
s.version = "2.8.0"
44
s.summary = "Klarna Mobile SDK for iOS"
55
s.description = <<-DESC
66
Klarna Mobile SDK for iOS apps.
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
99
s.license = { :type => "Apache License, Version 2.0", :text => "https://raw.githubusercontent.com/klarna/klarna-mobile-sdk/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.7.3/XCFrameworks.zip" }
12+
s.source = { :http => "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaMobileSDK/2.8.0/XCFrameworks.zip" }
1313
s.requires_arc = true
1414
s.swift_version = "5.0"
1515

@@ -27,6 +27,14 @@ Pod::Spec.new do |s|
2727
]
2828
end
2929

30+
s.subspec 'KlarnaPayment' do |sb|
31+
sb.vendored_frameworks = [
32+
"KlarnaCore.xcframework",
33+
"KlarnaNetworkCore.xcframework",
34+
"KlarnaPayment.xcframework"
35+
]
36+
end
37+
3038
s.default_subspec = 'basic'
3139

3240
end

Package.swift

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,32 @@ let package = Package(
99
name: "KlarnaMobileSDK",
1010
targets: ["KlarnaCore", "KlarnaMobileSDK"]
1111
),
12+
.library(
13+
name: "KlarnaPayment",
14+
targets: ["KlarnaCore", "KlarnaNetworkCore", "KlarnaPayment"]
15+
),
1216
],
1317
dependencies: [],
1418
targets: [
1519
.binaryTarget(
1620
name: "KlarnaCore",
17-
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaCore/2.7.3/KlarnaCore.xcframework.zip",
18-
checksum: "de17727a6fcc1477c47b5e9c1a76c2314ab58e8244547a74b45567fc2e9ee441"
21+
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaCore/2.8.0/KlarnaCore.xcframework.zip",
22+
checksum: "f426f32d32242df38791158d9aa3995b06872420a96a4469fc1c3947f8eea74f"
1923
),
2024
.binaryTarget(
2125
name: "KlarnaMobileSDK",
22-
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaMobileSDK/2.7.3/KlarnaMobileSDK.xcframework.zip",
23-
checksum: "a86c4ccff5cbefacf5b3d75be4d10c2b725b2dbb187a8c10895bf897df1adafb"
26+
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaMobileSDK/2.8.0/KlarnaMobileSDK.xcframework.zip",
27+
checksum: "c7282daf205fb33180281fffb1d9c99037a188be05774680e244767fff7f08db"
28+
),
29+
.binaryTarget(
30+
name: "KlarnaNetworkCore",
31+
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaNetworkCore/2.8.0/KlarnaNetworkCore.xcframework.zip",
32+
checksum: "331537ca10c58e6b6897b69e0f44d6133158e295b8cae4fcc55b06a90aaab2d8"
33+
),
34+
.binaryTarget(
35+
name: "KlarnaPayment",
36+
url: "https://x.klarnacdn.net/mobile-sdk/ios/frameworks/KlarnaPayment/2.8.0/KlarnaPayment.xcframework.zip",
37+
checksum: "c01938fe179a03911736ea27337a4e8dc45cd45739dff75a5c1b1e274dcd878c"
2438
)
2539
]
2640
)

0 commit comments

Comments
 (0)