|
@@ -147,19 +147,6 @@ export class Utils
|
147
|
147
|
}
|
148
|
148
|
|
149
|
149
|
/**
|
150
|
|
- * Returns a string containing platform brand information
|
151
|
|
- * @returns platform brand information
|
152
|
|
- */
|
153
|
|
- static platformString(): string
|
154
|
|
- {
|
155
|
|
- return ((navigator: any): string =>
|
156
|
|
- typeof navigator.userAgentData === 'object' ? // prefer the NavigatorUAData interface
|
157
|
|
- navigator.userAgentData.platform : // use only low entropy data
|
158
|
|
- navigator.platform // navigator.platform is deprecated
|
159
|
|
- )(navigator);
|
160
|
|
- }
|
161
|
|
-
|
162
|
|
- /**
|
163
|
150
|
* Checks if we're on iOS
|
164
|
151
|
* @returns true if we're on iOS
|
165
|
152
|
*/
|