Skip to content

Commit ca4dc72

Browse files
authored
Merge pull request #2432 from dpalou/MOBILE-3456
MOBILE-3456 ws: Don't set http plugin header in Android
2 parents 5ab88ad + e72bafe commit ca4dc72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/ws.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export class CoreWSProvider {
162162
this.logger = logger.getInstance('CoreWSProvider');
163163

164164
platform.ready().then(() => {
165-
if (this.appProvider.isMobile()) {
165+
if (this.appProvider.isIOS()) {
166166
(<any> cordova).plugin.http.setHeader('User-Agent', navigator.userAgent);
167167
}
168168
});

0 commit comments

Comments
 (0)