react-native-klarna-inapp-sdk 2.1.3 → 2.1.6
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to React Native Klarna In-App SDK will be documented in this file.
|
|
3
3
|
|
|
4
|
-
### [2.1.
|
|
5
|
-
-
|
|
4
|
+
### [2.1.5] - 2022-03-25
|
|
5
|
+
- Update Android Gradle version to the latest (7.4.1)
|
|
6
|
+
|
|
7
|
+
### [2.1.4] - 2022-03-24
|
|
8
|
+
- Update iOS SDK version to the latest (2.1.5)
|
|
9
|
+
|
|
10
|
+
### [2.1.3] - 2022-02-10
|
|
11
|
+
- Updated Android SDK (2.1.4) & iOS SDK (2.1.4)
|
|
6
12
|
|
|
7
13
|
### [2.1.0] - 2021-11-16
|
|
8
14
|
- Update Android SDK & iOS SDK version to the latest (2.1.0)
|
package/android/build.gradle
CHANGED
|
@@ -10,12 +10,12 @@ buildscript {
|
|
|
10
10
|
dependencies {
|
|
11
11
|
// Matches recent template from React Native (0.60)
|
|
12
12
|
// https://github.com/facebook/react-native/blob/0.60-stable/template/android/build.gradle#L16
|
|
13
|
-
classpath("com.android.tools.build:gradle:${safeExtGet('gradlePluginVersion', '
|
|
13
|
+
classpath("com.android.tools.build:gradle:${safeExtGet('gradlePluginVersion', '4.2.0')}")
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
apply plugin: 'com.android.library'
|
|
18
|
-
apply plugin: 'maven'
|
|
18
|
+
apply plugin: 'maven-publish'
|
|
19
19
|
|
|
20
20
|
// Matches values in recent template from React Native (0.59)
|
|
21
21
|
// https://github.com/facebook/react-native/blob/0.59-stable/template/android/build.gradle#L5-L9
|
|
@@ -56,7 +56,7 @@ repositories {
|
|
|
56
56
|
|
|
57
57
|
dependencies {
|
|
58
58
|
implementation "com.facebook.react:react-native:${safeExtGet('reactnativeVersion', '+')}"
|
|
59
|
-
implementation 'com.klarna.mobile:sdk:2.1.
|
|
59
|
+
implementation 'com.klarna.mobile:sdk:2.1.6'
|
|
60
60
|
|
|
61
61
|
testImplementation "junit:junit:4.13"
|
|
62
62
|
testImplementation 'androidx.test:core:1.2.0'
|
|
@@ -130,13 +130,24 @@ afterEvaluate { project ->
|
|
|
130
130
|
archives androidJavadocJar
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
133
|
+
publishing {
|
|
134
|
+
publications {
|
|
135
|
+
sdkDefaultRelease(MavenPublication) {
|
|
136
|
+
def packageJson = new groovy.json.JsonSlurper().parseText(file('../package.json').text)
|
|
137
|
+
groupId "com.klarna"
|
|
138
|
+
artifactId packageJson.name
|
|
139
|
+
version packageJson.version
|
|
140
|
+
description packageJson.description
|
|
141
|
+
|
|
142
|
+
artifact(androidSourcesJar)
|
|
143
|
+
artifact(androidJavadocJar)
|
|
144
|
+
}
|
|
145
|
+
}
|
|
138
146
|
|
|
139
|
-
|
|
147
|
+
repositories {
|
|
148
|
+
maven {
|
|
149
|
+
url = uri("file://${projectDir}/../android/maven")
|
|
150
|
+
}
|
|
140
151
|
}
|
|
141
152
|
}
|
|
142
153
|
}
|
|
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|
|
3
3
|
distributionPath=wrapper/dists
|
|
4
4
|
zipStoreBase=GRADLE_USER_HOME
|
|
5
5
|
zipStorePath=wrapper/dists
|
|
6
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-
|
|
6
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-all.zip
|
package/ios/Podfile
CHANGED
|
@@ -8,7 +8,7 @@ target 'KlarnaInAppSDK' do
|
|
|
8
8
|
# use_frameworks!
|
|
9
9
|
|
|
10
10
|
# Pods for KlarnaInAppSDK
|
|
11
|
-
pod 'KlarnaMobileSDK', '2.1.
|
|
11
|
+
pod 'KlarnaMobileSDK', '2.1.5'
|
|
12
12
|
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
|
|
13
13
|
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
|
|
14
14
|
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-klarna-inapp-sdk",
|
|
3
3
|
"title": "React Native Klarna In-App SDK",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.6",
|
|
5
5
|
"description": "This library wraps Klarna’s In-App SDK and exposes its functionality as React Native components. It currently supports Klarna Payments via a Payment View component.",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {},
|