|
@@ -2,6 +2,8 @@ import Iterator from 'es6-iterator';
|
2
|
2
|
import BackgroundTimer from 'react-native-background-timer';
|
3
|
3
|
import 'url-polyfill'; // Polyfill for URL constructor
|
4
|
4
|
|
|
5
|
+import { Platform } from '../../react';
|
|
6
|
+
|
5
|
7
|
import Storage from './Storage';
|
6
|
8
|
|
7
|
9
|
/**
|
|
@@ -323,7 +325,8 @@ function _visitNode(node, callback) {
|
323
|
325
|
}
|
324
|
326
|
}
|
325
|
327
|
|
326
|
|
- navigator.userAgent = userAgent;
|
|
328
|
+ navigator.userAgent
|
|
329
|
+ = `${userAgent} (${Platform.OS} ${Platform.Version})`;
|
327
|
330
|
})();
|
328
|
331
|
}
|
329
|
332
|
|