You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/01/11 22:52:00 UTC

[jira] [Closed] (CB-10931) InAppBrowser context menu doesn't work on iOS 9

     [ https://issues.apache.org/jira/browse/CB-10931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-10931.
-----------------------------
    Resolution: Won't Fix

Closed as won't fix, it was an Apple bug and there is nothing we can do about it.
It's fixed in iOS 10 and continues working on iOS 11, but there is no solution for iOS 9. At least it's 8% or less this days.

> InAppBrowser context menu doesn't work on iOS 9
> -----------------------------------------------
>
>                 Key: CB-10931
>                 URL: https://issues.apache.org/jira/browse/CB-10931
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-inappbrowser
>    Affects Versions: 1.3.0
>         Environment: InAppBrowser 1.3.0
> Cordova iOS Engine 4.1
> Xcode 7.2.1
> Mac OS 10.11.3
>            Reporter: Jacob Weber
>            Assignee: jcesarmobile
>            Priority: Minor
>              Labels: iOS, triaged
>         Attachments: menu.png
>
>
> If you open an InAppBrowser on iOS 8 and press and hold on a link, it will show a context menu with items like Open and Copy. If you do the same on iOS 9, the menu doesn't appear.
> Tested on iPad Air simulator with iOS 8.4 and 9.2:
> * Create an app with the CLI.
> * Add to config.xml:
> {code}
>     <engine name="ios" spec="~4.1.0" />
>     <plugin name="cordova-plugin-whitelist" spec="1" />
>     <plugin name="cordova-plugin-inappbrowser" spec="~1.3.0" />
> {code}
> * Run "cordova prepare".
> * Open project in Xcode.
> * Run in simulator.
> * Inspect in Safari, and run in console:
> {code}
> window.open("https://www.google.com", "_blank")
> {code}
> * In simulator, press and hold on a link.
> * With the iOS 8.4 simulator, the context menu appears (see attachment).
> * With the iOS 9.2 simulator, nothing appears. In the Xcode console, you see a warning:
> {code}
> Warning: Attempt to present <UIWebRotatingAlertController: 0x7fd95c8ae600> on <MainViewController: 0x7fd95af22cc0> whose view is not in the window hierarchy!
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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