public boolean validateMinimumVersion(
            @NonNull Context context, @NonNull PackageInfo packageInfo, int minimumVersion) {
        if (isDebug(context)) {
            return true;
        }

        return packageInfo.versionCode >= minimumVersion;
    }
public boolean validateMinimumVersion(
            @NonNull Context context, @NonNull PackageInfo packageInfo, int minimumVersion) {
        if (isDebug(context)) {
            return true;
        }

        return packageInfo.versionCode >= minimumVersion;
    }
public boolean validateMinimumVersion ( @ NonNull Context context , @ NonNull PackageInfo packageInfo , int minimumVersion ) { if ( isDebug ( context ) ) { return true ; } return packageInfo . versionCode >= minimumVersion ; }
Validates minimum version of app required or returns true if in debug.
Validates minimum version of app required or returns true if in debug .