From df63b59cafafa12c5ade707160414b56f6fe6da5 Mon Sep 17 00:00:00 2001 From: Maria Senosiain Date: Wed, 30 Mar 2022 12:17:23 +0100 Subject: [PATCH 1/2] Fix crash when return from Yoti App `ReceiverActivity` is launched as a PendingIntent with no extras (check `KernelSDKIntentService`) so it does not make sense to try to handle the intent extras on `ReceiverActivity`, and it was causing the crash when we tried to get the extras to put them in another intent as they're always null. Related to YM-26133 --- .../main/java/com/yoti/mobile/android/sdk/ReceiverActivity.java | 1 - 1 file changed, 1 deletion(-) diff --git a/yoti-sdk/src/main/java/com/yoti/mobile/android/sdk/ReceiverActivity.java b/yoti-sdk/src/main/java/com/yoti/mobile/android/sdk/ReceiverActivity.java index 1e2b456..8712f89 100644 --- a/yoti-sdk/src/main/java/com/yoti/mobile/android/sdk/ReceiverActivity.java +++ b/yoti-sdk/src/main/java/com/yoti/mobile/android/sdk/ReceiverActivity.java @@ -12,7 +12,6 @@ protected void onCreate(Bundle savedInstanceState) { Intent intent = new Intent(getIntent().getAction()); intent.setPackage(getIntent().getPackage()); - intent.putExtras(getIntent().getExtras()); sendBroadcast(intent); From f05a8f6aca9413749d13c76e5ae4f4e8e3c94873 Mon Sep 17 00:00:00 2001 From: Maria Senosiain Date: Wed, 30 Mar 2022 13:21:11 +0100 Subject: [PATCH 2/2] Bump up SDK version to 1.3.2 Related to YM-26133 --- CHANGELOG.md | 3 +++ gradle.properties | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13ca583..e99f26e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog All notable changes to this project will be documented in this file. +## [1.3.2] - 2022-03-30 +### Fixed +- Fix crash when returning from Digital IDs Apps. ## [1.3.1] - 2022-02-22 ### Changed diff --git a/gradle.properties b/gradle.properties index 348169e..0a842d8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -56,9 +56,9 @@ easyIDScheme=easyid:// pomId=yoti-button-sdk pomGroup=com.yoti.mobile.android.sdk pomPackaging=aar -pomVersion=1.3.1 +pomVersion=1.3.2 pomDescription=Button SDK that allows 3rd party to trigger Yoti as support app -currentVersionCode=000011 +currentVersionCode=000012 pomLicenseName=MIT pomLicenseUrl=https://github.com/getyoti/android-sdk-button/blob/master/LICENSE.md