-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.config.js
117 lines (106 loc) · 2.93 KB
/
app.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
var appConfig = {
debugAnalytics: false,
debugConsole: false,
trackSessionEvents: false,
trackAnalytics: false,
checkRateInSeconds: {
basic: (6 * 60 * 60), // 6 hours
premium: (6 * 60 * 60), // 6 hours
activity: (5 * 60), // Default window size for activity blocks
alarmDelay: (11 * 60), // 10 minutes
licenseRefresh: (24 * 60 * 60) // 24 hours
},
popupAfterSeconds: (24 * 60 * 60), // 24 hours
sessionTimeoutInSeconds: (5 * 60),
sessionTimeoutInSecondsFromOtherDevice: (60 * 60), // 1 hour before sessions from other devices are expired
syncCachePersistSeconds: 30,
analytics: {
GAPropertyCode: 'UA-74242333-22',
shortAppName: 'GB',
appName: 'Gopher Buddy',
version: '0.9.8.8',
customDimensions: [
{
label: 'gitHash',
dimension: 'cd7',
addToDefault: true
}
]
},
storageKeys: [
'licenseTier',
'domain',
'customerId',
'deviceOrgUnitPath',
'userOrgUnitPath',
'deviceId',
'userId',
'deviceVersion',
'verboseDeviceVersion',
'available',
'lastChecked',
'managedDevice',
'developer',
'licenseTimestamp',
'dummyId',
'domainSettings',
'disabled',
'pingInterval'
],
api: {
baseUrl: 'https://gopher-buddy-prod.appspot.com',
version: '/v2',
getCustomerTier: '/getCustomerTier',
verifyAuth: '/verifyAuth',
publicIp: '/publicIP',
deviceInfoPermission: '/deviceInfoPermission',
help: '/support',
deviceInfo: '/support',
hashKey: 'adasfklasd09odaadslk',
deviceLookup: '/deviceLookup',
token: 'dsalj009mnv-8sdjhsa8jhd'
},
pubsub: {
topic: 'session-ingest',
project: 'gopher-buddy-prod',
key : 'AIzaSyCTgIFn8GImeF-fshihisrLuLqP7eyFtZ8',
pingRateInSeconds: 240
},
docWindow: {
top: 384,
height: 500,
focused: true,
type: 'popup'
},
notices: {
outOfDate: {
type: 'basic',
iconUrl: '../images/chrome_gopher_unhappy_128.png',
title: 'Chrome is out of date',
message: 'You need to update Chrome\nClick OK to open the update page,\nor LATER to get reminded later',
buttons: [{
title: 'OK',
iconUrl: '../images/check.png'
}, {
title: 'LATER',
iconUrl: '../images/clock.png'
}],
requireInteraction: true
},
checkAgain: {
type: 'basic',
iconUrl: '../images/gopher-buddy_128x128_color.png',
title: 'Gopher Buddy will check again',
message: 'Gopher Buddy will check your version again in the next few minutes, and let you know if you need to update',
requireInteraction: false
}
},
images: {
default: '../images/gopher-buddy_32x32_color.png',
warning: '../images/gopher-buddy_unhappy.png',
disabled: '../images/gopher-buddy_disabled.png'
},
buildInfo: {
gitHash: ''
}
};