Skip to content

Commit

Permalink
Merge pull request #249 from klarna/inapp-sdk/ios-v2.6.24
Browse files Browse the repository at this point in the history
Release In-App SDK iOS v2.6.24
  • Loading branch information
NMGuner authored Jan 15, 2025
2 parents 0c3e5c3 + 42c1684 commit 9a52a91
Show file tree
Hide file tree
Showing 154 changed files with 127,469 additions and 114,539 deletions.
2 changes: 1 addition & 1 deletion BUILD_VARIANTS_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ want to use a different variant, update your Podfile to use a different subspec.


```ruby
pod 'KlarnaMobileSDK/xcode-15.3-fat', '~> 2.6.23'
pod 'KlarnaMobileSDK/xcode-15.3-fat', '~> 2.6.24'
```

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### [2.6.24] - 2025-01-13
- Added support for Single sign-on using ASWebAuthenticationSession.
- Updated UI for Sign in with Klarna button.
- Optimized remote asset loading.

### [2.6.23] - 2024-10-23
- Added SIWK tokenization feature.
- Removed enforced consent prompt in Sign in with Klarna integration.
Expand Down
2 changes: 1 addition & 1 deletion KlarnaMobileSDK.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"2.6.23": "https://github.com/klarna/klarna-mobile-sdk/releases/download/2.6.23/KlarnaMobileSDK.framework.zip"
"2.6.24": "https://github.com/klarna/klarna-mobile-sdk/releases/download/2.6.24/KlarnaMobileSDK.framework.zip"
}
2 changes: 1 addition & 1 deletion KlarnaMobileSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "KlarnaMobileSDK"
s.version = "2.6.23"
s.version = "2.6.24"
s.summary = "Klarna Mobile SDK for iOS"
s.description = <<-DESC
Klarna Mobile SDK for iOS apps.
Expand Down
Binary file modified ios/Carthage/KlarnaMobileSDK.xcframework.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>2.6.23</string>
<string>2.6.24</string>
<key>CFBundleVersion</key>
<string>179</string>
<string>180</string>
</dict>
</plist>
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>2.6.23</string>
<string>2.6.24</string>
<key>CFBundleVersion</key>
<string>179</string>
<string>180</string>
</dict>
</plist>
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Binary file modified ios/XCFramework/basic/universal/KlarnaMobileSDK.xcframework.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,34 @@
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>KlarnaMobileSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>KlarnaMobileSDK.framework/KlarnaMobileSDK</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>KlarnaMobileSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ typedef SWIFT_ENUM(NSInteger, KlarnaButtonShape, open) {
};

typedef SWIFT_ENUM(NSInteger, KlarnaButtonTheme, open) {
/// Will render the button in the Klarna pink theme. This is the recommended theme as it has the highest brand recognition and likelihood of usage by your customers.
/// This is no longer supported, thus will render the default theme.
KlarnaButtonThemeKlarna = 0,
/// Will render the button in white. It is recommended to use this theme on dark backgrounds.
KlarnaButtonThemeLight = 1,
Expand Down Expand Up @@ -1717,6 +1717,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) KlarnaResour
@end


enum KlarnaSignInButtonLogoAlignment : NSInteger;
@protocol ASWebAuthenticationPresentationContextProviding;
@protocol KlarnaSignInTokenizationDelegate;
@class UITouch;
Expand All @@ -1730,6 +1731,7 @@ SWIFT_CLASS("_TtC15KlarnaMobileSDK18KlarnaSignInButton") SWIFT_AVAILABILITY(ios,
@property (nonatomic) enum KlarnaButtonShape buttonShape;
/// Defines the content of the button. For alternatives, see <code>KlarnaButtonLabel</code>.
@property (nonatomic) enum KlarnaButtonLabel buttonLabel;
@property (nonatomic) enum KlarnaSignInButtonLogoAlignment buttonLogoAlignment;
/// Creates a an instance of this button.
/// note:
/// More information about presentation context <a href="https://developer.apple.com/documentation/authenticationservices/aswebauthenticationpresentationcontextproviding">here</a>.
Expand Down Expand Up @@ -1869,6 +1871,11 @@ SWIFT_CLASS("_TtC15KlarnaMobileSDK23KlarnaSignInButtonDebug") SWIFT_AVAILABILITY
- (nonnull instancetype)initWithClientId:(NSString * _Nonnull)clientId scope:(NSString * _Nonnull)scope market:(NSString * _Nonnull)market locale:(NSString * _Nonnull)locale presentationContext:(id <ASWebAuthenticationPresentationContextProviding> _Nonnull)presentationContext theme:(enum KlarnaTheme)theme environment:(KlarnaEnvironment * _Nonnull)environment region:(KlarnaRegion * _Nonnull)region resourceEndpoint:(KlarnaResourceEndpoint * _Nonnull)resourceEndpoint returnUrl:(NSURL * _Nonnull)returnUrl eventHandler:(id <KlarnaEventHandler> _Nonnull)eventHandler loggingLevel:(enum KlarnaLoggingLevel)loggingLevel tokenizationDelegate:(id <KlarnaSignInTokenizationDelegate> _Nullable)tokenizationDelegate OBJC_DESIGNATED_INITIALIZER;
@end

typedef SWIFT_ENUM(NSInteger, KlarnaSignInButtonLogoAlignment, open) {
KlarnaSignInButtonLogoAlignmentLeft = 0,
KlarnaSignInButtonLogoAlignmentCenter = 1,
};


SWIFT_CLASS("_TtC15KlarnaMobileSDK15KlarnaSignInSDK") SWIFT_AVAILABILITY(ios,introduced=13.0)
@interface KlarnaSignInSDK : NSObject
Expand Down Expand Up @@ -2210,7 +2217,6 @@ typedef SWIFT_ENUM(NSInteger, KlarnaWebViewOpeningBehavior, open) {




SWIFT_DEPRECATED
@interface WKWebView (SWIFT_EXTENSION(KlarnaMobileSDK)) <KlarnaWebView>
@end
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.0-1415-g99aac71
v1.0.0-1417-gdcc9008
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 9a52a91

Please sign in to comment.