MOBILE-3320 core: Fix user agent in Android

main
Dani Palou 2021-05-10 12:57:42 +02:00
parent 6b4392d5de
commit 51c50908d3
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}