You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/12/12 09:41:03 UTC

[GitHub] dariofilipaj opened a new issue #372: On iOS OverrideUserAgent changes user agent for Cordova view too

dariofilipaj opened a new issue #372: On iOS OverrideUserAgent changes user agent for Cordova view too
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/372
 
 
   This bug is already known as noted on https://github.com/apache/cordova-plugin-inappbrowser/pull/94 and [here](https://github.com/ionic-team/ionic/issues/11790) but i couldn't find and active issue to track progress.
   
   **What happened:**
   In our specific case we use Ionic [Platform](https://ionicframework.com/docs/api/platform/Platform/) to programmatically check if platform is either "iOS" or "Android". In same time we use InAppBrowser for oauth on our server. Therefor we need to use `OverrideUserAgent` property.
   
   Unfortunately as soon as we add `OverrideUserAgent` property Platform module doesn't work properly. It detects iOS as desktop platform.
   
   **Expected behavior**
   Platform module should still be usable and properly detect iOS platform.
   
   Is there any progress on this issue or any suggestion how to avoid it? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org