urbanairship-core/src/main/java/com/urbanairship/iam/AudienceChecks.java
private static boolean isAppVersionConditionMet(@NonNull Audience audience) {
        if (audience.getVersionPredicate() == null) {
            return true;
        }

        // Apply the predicate
        return audience.getVersionPredicate().apply(VersionUtils.createVersionObject());
    }
/**
     * Helper method to check the app version.
     *
     * @param audience The audience.
     * @return {@code true} if the app version conditions are met or are not defined, otherwise {@code false}.
     */
Helper method to check the app version.
@param audience The audience.
@return  true if the app version conditions are met or are not defined, otherwise  false.
Helper method to check the app version . @param audience The audience . @return true if the app version conditions are met or are not defined otherwise false .
private static boolean isAppVersionConditionMet(@NonNull Audience audience) {
        if (audience.getVersionPredicate() == null) {
            return true;
        }
        return audience.getVersionPredicate().apply(VersionUtils.createVersionObject());
    }
private static boolean isAppVersionConditionMet ( @ NonNull Audience audience ) { if ( audience . getVersionPredicate ( ) == null ) { return true ; } return audience . getVersionPredicate ( ) . apply ( VersionUtils . createVersionObject ( ) ) ; }
Helper method to check the app version.
Helper method to check the app version .
// Apply the predicate