Alex Lopez created CB-12198:
-------------------------------

             Summary: InAppBrowser cannot start application by url scheme in 
Android
                 Key: CB-12198
                 URL: https://issues.apache.org/jira/browse/CB-12198
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin InAppBrowser
    Affects Versions: 1.5.0
         Environment: Reproduced on Android 5.0, 5.1.1 and 6.0.1
Cordova 6.4
InAppBrowser plugin version 1.5.0
            Reporter: Alex Lopez


I am trying to open another app using the code like:

```
cordova.InAppBrowser.open('youtube://', '_system')
```
It wors fine in iOS but  it doesn't in Android, here is what I get from the logs

```
11-30 16:01:12.669 9525-9600/com.aaaaa.bbbbb D/InAppBrowser: target = _system
11-30 16:01:12.683 9525-9525/com.aaaaa.bbbbb D/InAppBrowser: in system
                                                                 
                                                                 --------- 
beginning of system
11-30 16:01:12.690 9525-9525/com.aaaaa.bbbbb D/InAppBrowser: InAppBrowser: 
Error loading url youtube://:android.content.ActivityNotFoundException: No 
Activity found to handle Intent { act=android.intent.action.VIEW dat=youtube:// 
(has extras) }
```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to