File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
yoti-sdk/src/main/java/com/yoti/mobile/android/sdk Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,8 @@ private static PackageInfo getAppPackageInfoBasedOnTheme(PackageManager packageM
154
154
case THEME_PARTNERSHIP :
155
155
if (checkAppInstalled (packageManager , YotiAppDefs .YOTI_APP_PACKAGE )) {
156
156
packageInfo = packageManager .getPackageInfo (YotiAppDefs .YOTI_APP_PACKAGE , 0 );
157
- } else if (checkAppInstalled (packageManager , YotiAppDefs .EASY_ID_APP_PACKAGE )) {
157
+ } else if (checkAppInstalled (packageManager , YotiAppDefs .EASY_ID_APP_PACKAGE )
158
+ && checkEasyAppWithSchemeAvailable (packageManager )) {
158
159
packageInfo = packageManager .getPackageInfo (YotiAppDefs .EASY_ID_APP_PACKAGE , 0 );
159
160
} else {
160
161
AppNotInstalledErrorCode errorCode = buttonTheme == THEME_YOTI ? YOTI_APP_NOT_INSTALLED : PARTNERSHIP_APP_NOT_INSTALLED ;
You can’t perform that action at this time.
0 commit comments