105 lines
1.9 KiB
Go
105 lines
1.9 KiB
Go
|
package model
|
||
|
|
||
|
const (
|
||
|
// OldPlatformIPhone old report iPhone.
|
||
|
OldPlatformIPhone = 1
|
||
|
// OldPlatformIPad old report iPad.
|
||
|
OldPlatformIPad = 2
|
||
|
// OldPlatformAndroid old report Android.
|
||
|
OldPlatformAndroid = 3
|
||
|
// OldPlatformIPadHD old report iPad HD.
|
||
|
OldPlatformIPadHD = 4
|
||
|
// OldPlatformAndroidNow old report Android Now.
|
||
|
OldPlatformAndroidNow = 13
|
||
|
)
|
||
|
|
||
|
// VersionsIPhone iPhone versions.
|
||
|
var VersionsIPhone = map[string]int{
|
||
|
"5.16": 6140,
|
||
|
"5.15": 6100,
|
||
|
"5.14.1": 6090,
|
||
|
"5.14": 6070,
|
||
|
"5.13": 6060,
|
||
|
"5.12.1": 6050,
|
||
|
"5.12": 6040,
|
||
|
"5.11.2": 6010,
|
||
|
"5.11.1": 5990,
|
||
|
"5.11": 5980,
|
||
|
"5.10": 5960,
|
||
|
"5.9": 5910,
|
||
|
"5.8": 5800,
|
||
|
"5.7.1": 5730,
|
||
|
"5.7": 5710,
|
||
|
"5.6": 5570,
|
||
|
"5.5.1": 4470,
|
||
|
"5.5": 4430,
|
||
|
"5.4": 4360,
|
||
|
"5.3": 4350,
|
||
|
"5.2": 4310,
|
||
|
"5.1.1": 4280,
|
||
|
"5.1": 4270,
|
||
|
"5.0.1": 4250,
|
||
|
"5.0": 4240,
|
||
|
"4.38": 4230,
|
||
|
"4.37": 4180,
|
||
|
"4.36.1": 4170,
|
||
|
"4.36": 4160,
|
||
|
"4.35.2": 4140,
|
||
|
"4.35.1": 4130,
|
||
|
"4.34": 4070,
|
||
|
"4.33": 4040,
|
||
|
"4.32": 4000,
|
||
|
"4.31.1": 3970,
|
||
|
"4.30": 3940,
|
||
|
"4.29": 3910,
|
||
|
"4.28": 3870,
|
||
|
"4.27": 3710,
|
||
|
"4.26": 3620,
|
||
|
"4.25": 3600,
|
||
|
"4.24.1": 3480,
|
||
|
"4.24": 3470,
|
||
|
"4.23.1": 3440,
|
||
|
"4.23": 3430,
|
||
|
"4.22.1": 3390,
|
||
|
"4.22": 3380,
|
||
|
"4.21.1": 3360,
|
||
|
"4.21": 3350,
|
||
|
"4.20": 3300,
|
||
|
"4.19": 3220,
|
||
|
"4.18": 3170,
|
||
|
"4.17.1": 3110,
|
||
|
"4.16": 3060,
|
||
|
"4.15": 3010,
|
||
|
"4.14.1": 2930,
|
||
|
"4.13.1": 2840,
|
||
|
"4.13": 2790,
|
||
|
"4.12.1": 2710,
|
||
|
"4.12": 2640,
|
||
|
"4.11": 2530,
|
||
|
"4.9": 2310,
|
||
|
}
|
||
|
|
||
|
// VersionsIPad iPad versions.
|
||
|
var VersionsIPad = map[string]int{
|
||
|
"1.50": 12040,
|
||
|
"1.20": 12020,
|
||
|
"1.19": 11900,
|
||
|
"1.18": 10450,
|
||
|
"1.17": 10430,
|
||
|
"1.16.1": 10420,
|
||
|
"1.16": 10410,
|
||
|
"1.15": 10400,
|
||
|
"1.14": 10390,
|
||
|
"1.13": 10370,
|
||
|
"1.12": 10350,
|
||
|
"1.11": 10340,
|
||
|
"1.10": 10330,
|
||
|
"1.9": 10320,
|
||
|
"1.8": 10280,
|
||
|
"1.7": 10270,
|
||
|
"1.6": 10260,
|
||
|
"1.5": 10180,
|
||
|
"1.3": 10070,
|
||
|
"1.0": 10030,
|
||
|
}
|