From 51c50908d3c02223b945366f3ca980a57dbde98d Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Mon, 10 May 2021 12:57:42 +0200 Subject: [PATCH 1/2] MOBILE-3320 core: Fix user agent in Android --- src/core/services/ws.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/services/ws.ts b/src/core/services/ws.ts index 34543069e..d78c54e57 100644 --- a/src/core/services/ws.ts +++ b/src/core/services/ws.ts @@ -63,7 +63,7 @@ export class CoreWSProvider { protected async init(): Promise { await Platform.ready(); - if (CoreApp.isIOS()) { + if (CoreApp.isMobile()) { NativeHttp.setHeader('*', 'User-Agent', navigator.userAgent); } } From 5aee4471787a53885962ac3ae1c448a6d30c9157 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Mon, 10 May 2021 13:07:01 +0200 Subject: [PATCH 2/2] MOBILE-3320 index: Include Content-Security-Policy --- src/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.html b/src/index.html index 83fb2a51f..706be76f1 100644 --- a/src/index.html +++ b/src/index.html @@ -9,6 +9,7 @@ +