MOBILE-3320 core: Fix user agent in Android
parent
6b4392d5de
commit
51c50908d3
|
@ -63,7 +63,7 @@ export class CoreWSProvider {
|
|||
protected async init(): Promise<void> {
|
||||
await Platform.ready();
|
||||
|
||||
if (CoreApp.isIOS()) {
|
||||
if (CoreApp.isMobile()) {
|
||||
NativeHttp.setHeader('*', 'User-Agent', navigator.userAgent);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue