Yoram Harth
Posts: 0
Joined: Mon Aug 04, 2014 10:59 am

InAppBrowser don't load

Hi,
Trying to build a link that opens a website in a InAppBrowser, the link loads for a second the InAppBrowser but afterwards the InAppBrowser disappear and the website is shown in the app(without a back/done option).
My html code:
Neutrogena Oil-Free Acne Wash Facial Cleanser, Pink Grapefruit, 6 Ounce
My javascript event code (I added an event to the html_180 section:
var a = $('a[name=html_180_link]');
window.open(a.attr('href'), "_blank");

I tried also "_self" but I got the same error...

Thanks!

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

InAppBrowser don't load

Hello Yoram,

We can't reproduce this. Could you please tell us on what device with what OS do you test? On what event do you call this code?

Yoram Harth7043908
Posts: 0
Joined: Thu Aug 14, 2014 1:12 pm

InAppBrowser don't load

To reproduce it please go to the xacnecleanser page in the app .
On the bottom of the page I put links to two products .
I am testing it with your testing app on Iphone 5 IOS8 (beta 5) .

Yoram

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

InAppBrowser don't load

Yoram,

Unfortunately we don't support IOS8, this is the reason why you get this issue.

Yoram Harth7043908
Posts: 0
Joined: Thu Aug 14, 2014 1:12 pm

InAppBrowser don't load

I tested it also on iPhone 4s IOS7 - exactly the same problem . Can you please help ?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

InAppBrowser don't load

Hi Yoram,

Could you please try the simplest InAppBrowser example? Does it work for you? http://docs.phonegap.com/en/2.3.0/cor...

Yoram Harth
Posts: 0
Joined: Mon Aug 04, 2014 10:59 am

InAppBrowser don't load

It's not working for me... I copied you the code I have in my app, I did exactly like you wrote in your documentation...
The InAppBrowser popes for a second and then closed and I see the link page without a frame (no way to go back to the app).

Yoram Harth
Posts: 0
Joined: Mon Aug 04, 2014 10:59 am

InAppBrowser don't load

This is the error I see when Im trying to open a webpage in Xcode:
2014-08-16 16:33:57.801 MDACNE[3771:64840] THREAD WARNING: ['InAppBrowser'] took '99.768799' ms. Plugin should use a background thread.
2014-08-16 16:33:57.804 MDACNE[3771:64840] CDVWebViewDelegate: Navigation started when state=1
2014-08-16 16:33:57.804 MDACNE[3771:64840] Failed to load webpage with error: CDVWebViewDelegate: Navigation started when state=1

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

InAppBrowser don't load

Hi Yoram,

Please show your code example, we will test it.

Yoram Harth
Posts: 0
Joined: Mon Aug 04, 2014 10:59 am

InAppBrowser don't load

The app is called Mdacne.

It is publicly shared.

The code is on the page called: xacnecleanser.

Thanks,

Yoram

Return to “Issues”