Loading lib/src/main/java/com/nextcloud/android/sso/helper/VersionCheckHelper.java +1 −7 Original line number Diff line number Diff line Loading @@ -59,16 +59,10 @@ public final class VersionCheckHelper { // Stable Files App is not installed at all. Therefore we need to run the test on the dev app try { final int verCode = getNextcloudFilesVersionCode(context, type); final int verCode = getNextcloudFilesVersionCode(context, FilesAppType.DEV); // The dev app follows a different versioning schema.. therefore we can't do our normal checks // However beta users are probably always up to date so we will just ignore it for now Log.d(TAG, "Dev files app version is: " + verCode); /* if (verCode < minVersion) { UiExceptionManager.showDialogForException(activity, new NextcloudFilesAppNotSupportedException()); return false; } */ return true; } catch (PackageManager.NameNotFoundException ex) { Log.e(TAG, "PackageManager.NameNotFoundException (dev files app not found): " + e.getMessage()); Loading Loading
lib/src/main/java/com/nextcloud/android/sso/helper/VersionCheckHelper.java +1 −7 Original line number Diff line number Diff line Loading @@ -59,16 +59,10 @@ public final class VersionCheckHelper { // Stable Files App is not installed at all. Therefore we need to run the test on the dev app try { final int verCode = getNextcloudFilesVersionCode(context, type); final int verCode = getNextcloudFilesVersionCode(context, FilesAppType.DEV); // The dev app follows a different versioning schema.. therefore we can't do our normal checks // However beta users are probably always up to date so we will just ignore it for now Log.d(TAG, "Dev files app version is: " + verCode); /* if (verCode < minVersion) { UiExceptionManager.showDialogForException(activity, new NextcloudFilesAppNotSupportedException()); return false; } */ return true; } catch (PackageManager.NameNotFoundException ex) { Log.e(TAG, "PackageManager.NameNotFoundException (dev files app not found): " + e.getMessage()); Loading