Skip to content

Commit df63b59

Browse files
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
1 parent 50ca45b commit df63b59

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

yoti-sdk/src/main/java/com/yoti/mobile/android/sdk/ReceiverActivity.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ protected void onCreate(Bundle savedInstanceState) {
1212

1313
Intent intent = new Intent(getIntent().getAction());
1414
intent.setPackage(getIntent().getPackage());
15-
intent.putExtras(getIntent().getExtras());
1615

1716
sendBroadcast(intent);
1817

0 commit comments

Comments
 (0)