admin
2019-05-22 025fd2b123207619d10f29015443ba22a5f057a1
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.yeshi.fanli.util;
 
public class VersionUtil {
 
    public static boolean greaterThan_1_5_40(String platform, String versionCode) {
        if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 40))
                || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 49)))
            return true;
        else
            return false;
    }
 
}