|
@@ -167,14 +167,15 @@ export class Utils
|
167
|
167
|
*/
|
168
|
168
|
static deviceInfo(): string
|
169
|
169
|
{
|
170
|
|
- return JSON.stringify({
|
|
170
|
+ return 'Device info: ' + JSON.stringify({
|
171
|
171
|
isIOS: Utils.isIOS(),
|
172
|
172
|
isWebKit: Utils.isWebKit(),
|
173
|
173
|
renderer: Speedy.Platform.renderer,
|
174
|
174
|
vendor: Speedy.Platform.vendor,
|
175
|
|
- screen: [screen.width, screen.height].toString(),
|
|
175
|
+ screen: [screen.width, screen.height].join('x'),
|
|
176
|
+ platform: [navigator.platform, navigator.vendor].join('; '),
|
176
|
177
|
userAgent: navigator.userAgent,
|
177
|
|
- platform: [Utils.platformString(), navigator.platform, navigator.vendor],
|
178
|
|
- }, null, 4);
|
|
178
|
+ userAgentData: (navigator as any).userAgentData || null,
|
|
179
|
+ }, null, 2);
|
179
|
180
|
}
|
180
|
181
|
}
|