react-native-klarna-inapp-sdk 2.5.3 → 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.
|
@@ -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
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
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.
|
|
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",
|