MOBILE-3456 ws: Don't set http plugin header in Android
parent
22266da7a7
commit
e72bafe359
|
@ -162,7 +162,7 @@ export class CoreWSProvider {
|
||||||
this.logger = logger.getInstance('CoreWSProvider');
|
this.logger = logger.getInstance('CoreWSProvider');
|
||||||
|
|
||||||
platform.ready().then(() => {
|
platform.ready().then(() => {
|
||||||
if (this.appProvider.isMobile()) {
|
if (this.appProvider.isIOS()) {
|
||||||
(<any> cordova).plugin.http.setHeader('User-Agent', navigator.userAgent);
|
(<any> cordova).plugin.http.setHeader('User-Agent', navigator.userAgent);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue