Skip to content

Commit

Permalink
Merge pull request #224 from klarna/inapp-sdk/ios-v2.6.15
Browse files Browse the repository at this point in the history
Release In-App SDK iOS v2.6.15
  • Loading branch information
jorgepalac1o authored Feb 8, 2024
2 parents 08e8616 + e8f7b95 commit 244d654
Show file tree
Hide file tree
Showing 154 changed files with 126,214 additions and 121,933 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.1-fat', '~> 2.6.14'
pod 'KlarnaMobileSDK/xcode-15.1-fat', '~> 2.6.15'
```

11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ All notable changes to Klarna Mobile SDK will be documented in this file.

## iOS
Future releases will be documented in this section.
### [2.6.15] - 2024-02-08
- Privacy Manifest file included inside KlarnaMobileSDK framework.
- Environment and region values can be added through new constructor APIs.
- Internal improvements and optimizations.

### [2.6.14] - 2024-01-10
- Set the default variant of the SDK to basic.
- Implemented minor internal security fixes and improvements.
Expand Down Expand Up @@ -308,6 +313,12 @@ Future releases will be documented in this section.
- Fixed some modal dialog presentation in iOS 13 and for iPads.

## Android
### [2.6.13] - 2024-02-08
- Updated development and build JDK to JDK 11 and AGP to AGP 7.
- Resolved an issue preventing Sign in with Klarna integration when using a non-AppCompat theme.
- Deleted several internal APIs that were mistakenly exposed in earlier versions.
- Implemented several internal improvements and optimizations to enhance performance and reliability.

### [2.6.12] - 2024-01-09
- Set the default variant of the SDK to basic.
- Implemented minor internal security fixes and improvements.
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.14": "https://github.com/klarna/klarna-mobile-sdk/releases/download/2.6.14/KlarnaMobileSDK.framework.zip"
"2.6.15": "https://github.com/klarna/klarna-mobile-sdk/releases/download/2.6.15/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.14"
s.version = "2.6.15"
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.14</string>
<string>2.6.15</string>
<key>CFBundleVersion</key>
<string>170</string>
<string>171</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.14</string>
<string>2.6.15</string>
<key>CFBundleVersion</key>
<string>170</string>
<string>171</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 @@ -458,6 +458,8 @@ SWIFT_PROTOCOL("_TtP15KlarnaMobileSDK21KlarnaSingleComponent_")
/// auto layout is the recommended way to manage the view’s layout.
/// \param returnURL Your apps custom URL scheme <code>CFBundleURLSchemes</code>.
///
/// \param eventHandler A listener that will receive events from the SDK.
///
- (nonnull instancetype)initWithReturnURL:(NSURL * _Nonnull)returnURL eventHandler:(id <KlarnaEventHandler> _Nonnull)eventHandler;
/// Create a Klarna Checkout View
/// note:
Expand All @@ -466,6 +468,24 @@ SWIFT_PROTOCOL("_TtP15KlarnaMobileSDK21KlarnaSingleComponent_")
/// auto layout is the recommended way to manage the view’s layout.
/// \param returnURL Your apps custom URL scheme <code>CFBundleURLSchemes</code>.
///
/// \param eventHandler A listener that will receive events from the SDK.
///
/// \param environment Initialises the SDK with the specified Environment. For possible values check <code>KlarnaEnvironment</code>.
///
/// \param region Initialises the SDK with a specified Region. For possible values check <code>KlarnaRegion</code>.
///
/// \param resourceEndpoint Optional value that initialises the SDK with an alternative endpoint.
///
- (nonnull instancetype)initWithReturnURL:(NSURL * _Nonnull)returnURL eventHandler:(id <KlarnaEventHandler> _Nonnull)eventHandler environment:(KlarnaEnvironment * _Nonnull)environment region:(KlarnaRegion * _Nonnull)region resourceEndpoint:(KlarnaResourceEndpoint * _Nonnull)resourceEndpoint;
/// Create a Klarna Checkout View
/// note:
///
/// Klarna checkout view will be initialized with frame <code>.zero</code>,
/// auto layout is the recommended way to manage the view’s layout.
/// \param returnURL Your apps custom URL scheme <code>CFBundleURLSchemes</code>.
///
/// \param eventHandler A listener that will receive events from the SDK.
///
/// \param resourceEndpoint Optional value that initialises the SDK with an alternative endpoint.
///
- (nonnull instancetype)initWithReturnURL:(NSURL * _Nonnull)returnURL eventHandler:(id <KlarnaEventHandler> _Nonnull)eventHandler resourceEndpoint:(KlarnaResourceEndpoint * _Nonnull)resourceEndpoint;
Expand Down Expand Up @@ -957,6 +977,20 @@ SWIFT_CLASS("_TtC15KlarnaMobileSDK15KlarnaHybridSDK")
/// \param resourceEndpoint Initialises the SDK with an alternative endpoint.
///
- (nonnull instancetype)initWithReturnUrl:(NSURL * _Nonnull)returnUrl klarnaEventHandler:(id <KlarnaEventHandler> _Nonnull)klarnaEventHandler resourceEndpoint:(KlarnaResourceEndpoint * _Nonnull)resourceEndpoint;
/// Initialize the Klarna Mobile SDK in hybrid mode.
/// note:
/// After initializing the SDK, you’ll need to add the web view that the SDK will track.
/// \param returnUrl Your app’s custom URL scheme, specified in your app’s <code>CFBundleURLSchemes</code> field in the Info.plist.
///
/// \param klarnaEventHandler A listener that will receive events from the SDK.
///
/// \param environment Initialises the SDK with the specified Environment. For possible values check <code>KlarnaEnvironment</code>.
///
/// \param region Initialises the SDK with a specified Region. For possible values check <code>KlarnaRegion</code>.
///
/// \param resourceEndpoint Initialises the SDK with an alternative endpoint.
///
- (nonnull instancetype)initWithReturnUrl:(NSURL * _Nonnull)returnUrl klarnaEventHandler:(id <KlarnaEventHandler> _Nonnull)klarnaEventHandler environment:(KlarnaEnvironment * _Nonnull)environment region:(KlarnaRegion * _Nonnull)region resourceEndpoint:(KlarnaResourceEndpoint * _Nonnull)resourceEndpoint;
@end


Expand Down Expand Up @@ -1392,6 +1426,26 @@ SWIFT_CLASS("_TtC15KlarnaMobileSDK17KlarnaPaymentView")
/// automatically. You need to call initialize yourself.
/// \param category Category of payment methods to be loaded.
///
/// \param returnUrl Your app’s custom URL scheme, specified in your app’s <code>CFBundleURLSchemes</code> field in the Info.plist.
///
/// \param eventListener A listener object that will receive events from this view.
///
/// \param environment Initialises the SDK with the specified Environment. For possible values check <code>KlarnaEnvironment</code>.
///
/// \param region Initialises the SDK with a specified Region. For possible values check <code>KlarnaRegion</code>.
///
- (nonnull instancetype)initWithCategory:(NSString * _Nonnull)category returnUrl:(NSURL * _Nonnull)returnUrl eventListener:(id <KlarnaPaymentEventListener> _Nonnull)eventListener environment:(KlarnaEnvironment * _Nonnull)environment region:(KlarnaRegion * _Nonnull)region;
/// Create a Klarna Payment View
/// note:
///
/// Klarna payment view will be initialized with frame <code>.zero</code>,
/// auto layout is the recommended way to manage the view’s layout.
/// note:
///
/// When the payment view is initialized, this initializer <em>wont</em> call <code>initialize()</code>
/// automatically. You need to call initialize yourself.
/// \param category Category of payment methods to be loaded.
///
/// \param eventListener A listener object that will receive events from this view.
///
/// \param resourceEndpoint Initialises the SDK with an alternative endpoint.
Expand Down Expand Up @@ -1908,6 +1962,8 @@ SWIFT_CLASS("_TtC15KlarnaMobileSDK23KlarnaStandaloneWebView")
@property (nonatomic, strong) id <KlarnaStandaloneWebViewDelegate> _Nullable delegate;
/// Creates a <code>KlarnaStandaloneWebView</code>
- (nonnull instancetype)initWithReturnURL:(NSURL * _Nonnull)returnURL OBJC_DESIGNATED_INITIALIZER;
/// Creates a <code>KlarnaStandaloneWebView</code>
- (nonnull instancetype)initWithReturnURL:(NSURL * _Nonnull)returnURL eventHandler:(id <KlarnaEventHandler> _Nonnull)eventHandler environment:(KlarnaEnvironment * _Nonnull)environment region:(KlarnaRegion * _Nonnull)region OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
- (void)observeValueForKeyPath:(NSString * _Nullable)keyPath ofObject:(id _Nullable)object change:(NSDictionary<NSKeyValueChangeKey, id> * _Nullable)change context:(void * _Nullable)context;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.0-1250-gab8de20
v1.0.0-1256-gbe71ea8
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 244d654

Please sign in to comment.