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;
| }
|
| }
|
|