react-native-klarna-inapp-sdk 2.5.2 → 2.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -114,7 +114,7 @@ dependencies {
114
114
  implementation "org.jetbrains.kotlin:kotlin-reflect:${getExtOrDefault('kotlinVersion')}"
115
115
  implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3'
116
116
 
117
- implementation 'com.klarna.mobile:sdk:2.11.2'
117
+ implementation 'com.klarna.mobile:sdk:2.11.3'
118
118
  // Required: KlarnaExpressCheckoutButton extends ConstraintLayout.
119
119
  implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
120
120
 
@@ -601,6 +601,7 @@
601
601
  );
602
602
  LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift$(inherited)";
603
603
  OTHER_LDFLAGS = "-ObjC";
604
+ PRODUCT_MODULE_NAME = react_native_klarna_inapp_sdk;
604
605
  PRODUCT_NAME = RNKlarnaMobileSDK;
605
606
  SKIP_INSTALL = YES;
606
607
  SWIFT_VERSION = 5.0;
@@ -619,6 +620,7 @@
619
620
  );
620
621
  LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift$(inherited)";
621
622
  OTHER_LDFLAGS = "-ObjC";
623
+ PRODUCT_MODULE_NAME = react_native_klarna_inapp_sdk;
622
624
  PRODUCT_NAME = RNKlarnaMobileSDK;
623
625
  SKIP_INSTALL = YES;
624
626
  SWIFT_VERSION = 5.0;
@@ -11,12 +11,17 @@
11
11
  #import <KlarnaMobileSDK/KlarnaMobileSDK.h>
12
12
  #import <KlarnaMobileSDK/KlarnaMobileSDK-Swift.h>
13
13
 
14
- #if __has_include("react_native_klarna_inapp_sdk-Swift.h")
15
- #import "react_native_klarna_inapp_sdk-Swift.h"
16
- #elif __has_include("RNKlarnaMobileSDK-Swift.h")
17
- #import "RNKlarnaMobileSDK-Swift.h"
14
+ // CocoaPods publishes the auto-generated Swift compatibility header at two
15
+ // different locations depending on linkage mode:
16
+ // - use_frameworks!: inside the framework bundle, reached via the bracketed
17
+ // form below (Expo + expo-build-properties enables this for Firebase, etc.)
18
+ // - default (static library): a flat per-target build dir, reached via the
19
+ // quoted form.
20
+ // Both names use the pod's CocoaPods-derived snake_case (s.name).
21
+ #if __has_include(<react_native_klarna_inapp_sdk/react_native_klarna_inapp_sdk-Swift.h>)
22
+ #import <react_native_klarna_inapp_sdk/react_native_klarna_inapp_sdk-Swift.h>
18
23
  #else
19
- #import <RNKlarnaMobileSDK/RNKlarnaMobileSDK-Swift.h>
24
+ #import "react_native_klarna_inapp_sdk-Swift.h"
20
25
  #endif
21
26
 
22
27
  using namespace facebook::react;
@@ -5,12 +5,17 @@
5
5
  #import <KlarnaMobileSDK/KlarnaMobileSDK.h>
6
6
  #import <KlarnaMobileSDK/KlarnaMobileSDK-Swift.h>
7
7
 
8
- #if __has_include("react_native_klarna_inapp_sdk-Swift.h")
9
- #import "react_native_klarna_inapp_sdk-Swift.h"
10
- #elif __has_include("RNKlarnaMobileSDK-Swift.h")
11
- #import "RNKlarnaMobileSDK-Swift.h"
8
+ // CocoaPods publishes the auto-generated Swift compatibility header at two
9
+ // different locations depending on linkage mode:
10
+ // - use_frameworks!: inside the framework bundle, reached via the bracketed
11
+ // form below (Expo + expo-build-properties enables this for Firebase, etc.)
12
+ // - default (static library): a flat per-target build dir, reached via the
13
+ // quoted form.
14
+ // Both names use the pod's CocoaPods-derived snake_case (s.name).
15
+ #if __has_include(<react_native_klarna_inapp_sdk/react_native_klarna_inapp_sdk-Swift.h>)
16
+ #import <react_native_klarna_inapp_sdk/react_native_klarna_inapp_sdk-Swift.h>
12
17
  #else
13
- #import <RNKlarnaMobileSDK/RNKlarnaMobileSDK-Swift.h>
18
+ #import "react_native_klarna_inapp_sdk-Swift.h"
14
19
  #endif
15
20
 
16
21
  @interface KlarnaExpressCheckoutViewWrapper ()
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-klarna-inapp-sdk",
3
3
  "title": "Klarna Mobile SDK React Native",
4
- "version": "2.5.2",
4
+ "version": "2.5.4",
5
5
  "description": "This library wraps Klarna Mobile SDK and exposes its functionality as React Native components.",
6
6
  "main": "lib/commonjs/index",
7
7
  "module": "lib/module/index",
@@ -49,5 +49,5 @@ Pod::Spec.new do |s|
49
49
  end
50
50
  end
51
51
 
52
- s.dependency 'KlarnaMobileSDK', '2.11.5'
52
+ s.dependency 'KlarnaMobileSDK', '2.11.6'
53
53
  end