Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B2B08200B56 for ; Sat, 30 Jul 2016 19:22:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B14D9160A8B; Sat, 30 Jul 2016 17:22:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0C526160A8A for ; Sat, 30 Jul 2016 19:22:21 +0200 (CEST) Received: (qmail 54711 invoked by uid 500); 30 Jul 2016 17:22:21 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 54362 invoked by uid 99); 30 Jul 2016 17:22:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jul 2016 17:22:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E851E2C027F for ; Sat, 30 Jul 2016 17:22:20 +0000 (UTC) Date: Sat, 30 Jul 2016 17:22:20 +0000 (UTC) From: "jcesarmobile (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10868) iOS only - Can't open youtube links in _system when youtube app is installed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 30 Jul 2016 17:22:22 -0000 [ https://issues.apache.org/jira/browse/CB-10868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15400750#comment-15400750 ] jcesarmobile commented on CB-10868: ----------------------------------- Really weird thing, I was looking into CB-11620 and the problem is the same as here. Just find out that when youtube app is installed, the call inAppBrowser plugin makes to canOpenURL it uses the url youtube://youtu.be/7E0fVfectDo instead of https://youtu.be/7E0fVfectDo, so it was really an issue with the inAppBrowser and not just the youtube app. Anyway it is fixed in latest version of inAppBrowser plugin in master (1.4.1-dev), you can install from github url or wait until it's released > iOS only - Can't open youtube links in _system when youtube app is installed > ---------------------------------------------------------------------------- > > Key: CB-10868 > URL: https://issues.apache.org/jira/browse/CB-10868 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser > Affects Versions: 6.0.0 > Reporter: Brian Mooy > Assignee: jcesarmobile > Labels: triaged > > I created a blank app, with the system browser plugin and attempted to open a link to youtube with the following javascript: > window.open ('https://youtu.be/7E0fVfectDo', '_system') > This works fine if the youtube app is not installed, but once the youtube app is installed, literally nothing happens. This appears to be a problem introduced with the new youtube 17.0 version that was released March 1st. There's no javascript errors in the console. No errors in Xcode's debugger output. Other links work fine. IE: window.open ('http://google.com', '_system') ; The key to it is the youtube app being installed on the phone. Removing the youtube app then opens the link into the browser. The prompt ("open this link in youtube") is not appearing, and as such is causing the issue. > I am running cordova V 6.0.0, cordova-plugin-inappbrowser 1.2.1 and cordova-plugin-whitelist 1.2.1 > Cordova browser is on 4.1.0, iOS is on 4.0.1 > It may also be worth noting that it works fine on android - the problem only exists on iOS. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org