You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ni...@apache.org on 2020/06/04 18:40:08 UTC

[cordova-plugin-inappbrowser] branch ipad-contentmode created (now b029e6d)

This is an automated email from the ASF dual-hosted git repository.

niklasmerz pushed a change to branch ipad-contentmode
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-inappbrowser.git.


      at b029e6d  (ios) add documentation for preferredcontentmode

This branch includes the following new commits:

     new b029e6d  (ios) add documentation for preferredcontentmode

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[cordova-plugin-inappbrowser] 01/01: (ios) add documentation for preferredcontentmode

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

niklasmerz pushed a commit to branch ipad-contentmode
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-inappbrowser.git

commit b029e6d1ea8a5a08a19e4f71d36a4b6f488cfb7f
Author: Niklas Merz <ni...@apache.org>
AuthorDate: Thu Jun 4 20:39:28 2020 +0200

    (ios) add documentation for preferredcontentmode
---
 README.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/README.md b/README.md
index 4df9607..86f8630 100644
--- a/README.md
+++ b/README.md
@@ -168,6 +168,16 @@ At the moment the only supported target in OSX is `_system`.
 
 `_blank` and `_self` targets are not yet implemented and are ignored silently. Pull requests and patches to get these to work are greatly appreciated.
 
+### iOS Quirks
+
+Since iOS 13 iPads try to adapt their content mode / user agent for the optimal browsing experience. This may result in iPads having their user agent set to `Macintosh`. You can change this with the `PreferredContentMode` preference in "config.xml".
+
+```xml
+<preference name="PreferredContentMode" value="mobile" />
+```
+
+The example above forces the user agent to contain `iPad`. The other option is to use the value `desktop` to turn the user agent to `Macintosh`.
+
 ### Browser Quirks
 
 - Plugin is implemented via iframe,


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