You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Aaron Joshua Cajes <aa...@me.com> on 2014/03/30 22:07:08 UTC
InAppBrowser doesn't work on Android.
I've created a new cordova app using the latest version: 3.4.0 and i've also added the IAB plug-in (org.apache.cordova.InAppBrowser).
It works smoothly in iOS but it doesn't work on Android. It doesn't even open a single webpage.
The code is:
<a href="#" onClick="window.open('http://www.google.com','_system');
Just wondering if there's a working fix. I've googled around but nothing came even close to a possible fix. Hope someone helps.
Thanks!
Sent from my iPhone
Re: InAppBrowser doesn't work on Android.
Posted by Lisa Seacat DeLuca <ld...@us.ibm.com>.
I have the latest 3.4 code and have a working android app that uses
inAppBrowser. Aaron, can you run cordova plugin list and make sure the
plugin is installed? Are you seeing any errors in the console? I
typically open eclipse when I'm debugging an android cordova app and watch
the LogCat console for errors.
Lisa
Lisa Seacat DeLuca
Mobile Engineer | t: +415.787.4589 | ldeluca@apache.org | |
ldeluca@us.ibm.com | lisaseacat.com | |
From: Aaron Joshua Cajes <aa...@me.com>
To: "dev@cordova.apache.org" <de...@cordova.apache.org>
Date: 03/30/2014 09:39 PM
Subject: InAppBrowser doesn't work on Android.
I've created a new cordova app using the latest version: 3.4.0 and i've
also added the IAB plug-in (org.apache.cordova.InAppBrowser).
It works smoothly in iOS but it doesn't work on Android. It doesn't even
open a single webpage.
The code is:
<a href="#" onClick="window.open('http://www.google.com','_system');
Just wondering if there's a working fix. I've googled around but nothing
came even close to a possible fix. Hope someone helps.
Thanks!
Sent from my iPhone
Re: InAppBrowser doesn't work on Android.
Posted by Joe Bowser <bo...@gmail.com>.
That actually should load in the system browser, and not in the
InAppBrowser. I just checked this, and this currently works as
intended on the Nexus 5. If it's not opening at all on your phone,
that's most likely a problem with your phone's browser. We explicitly
test this in MobileSpec.
Can you please create an issue in JIRA here
(https://issues.apache.org/jira/browse/CB/) and write which device
you're currently using?
Thanks
Joe
On Sun, Mar 30, 2014 at 1:07 PM, Aaron Joshua Cajes <aa...@me.com> wrote:
> I've created a new cordova app using the latest version: 3.4.0 and i've also added the IAB plug-in (org.apache.cordova.InAppBrowser).
>
> It works smoothly in iOS but it doesn't work on Android. It doesn't even open a single webpage.
>
> The code is:
>
> <a href="#" onClick="window.open('http://www.google.com','_system');
>
> Just wondering if there's a working fix. I've googled around but nothing came even close to a possible fix. Hope someone helps.
>
> Thanks!
>
> Sent from my iPhone