Skip to content

Commit 16a7bef

Browse files
Merge pull request #23 from klarna/1.0.10
1.0.10
2 parents cd8cb59 + 1a5cb25 commit 16a7bef

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ All notable changes to React Native Klarna In-App SDK will be documented in this
33

44
### [1.0.10] - 2020-03-04
55
- Fixed `No such property: username for class: java.lang.String` build issue for Android.
6+
- Migrate to AndroidX.
67

78
### [1.0.9] - 2020-02-27
89
- Updated the iOS SDK version to the latest (2.0.10)

TestApp/android/gradle.properties

+2
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@
1616
# This option should only be used with decoupled projects. More details, visit
1717
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1818
# org.gradle.parallel=true
19+
android.useAndroidX=true
20+
android.enableJetifier=true

android/src/main/java/com/klarna/inapp/sdk/KlarnaPaymentEvent.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.klarna.inapp.sdk;
22

3-
import android.support.annotation.IdRes;
4-
import android.support.annotation.NonNull;
5-
import android.support.annotation.Nullable;
3+
import androidx.annotation.IdRes;
4+
import androidx.annotation.NonNull;
5+
import androidx.annotation.Nullable;
66

77
import com.facebook.react.bridge.Arguments;
88
import com.facebook.react.bridge.WritableMap;

0 commit comments

Comments
 (0)