Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Marcos_N_
Beginner
250 Views

InAppBrowser Back Button Not Running in Ios

When i tip the URL direct in InAppBrowser script code, the "done Button"and toolbar appear inside InAppBrowser view.

But if script receives the URL by an expression (variable) the InApp don't shows the buttons and bars...

Someone had this kind of problem before?

Tags (2)
0 Kudos
4 Replies
Marcos_N_
Beginner
250 Views

Something like this

Nicolas_O_Intel
Employee
250 Views

Hi Marcos N.

I think the problem is in the code. From the image you posted, I see that you have an additional "+" sign before "_blank".

cordova.InAppBrowser.open(valor, + '_blank', 'location=yes');

can you try removing that additional "+" sign and try again? 

Marcos_N_
Beginner
250 Views

TO begin.... Really thanks for answer so quickly. And then... i`m so shame.. its run!! It was so simple and i don't saw... THANKY you NICO.

 

Nicolas_O_Intel
Employee
250 Views

No Problem Marcos N.! 

This kind of errors are really common on Javascript code. There are several tools (jshint, eslint) that helps you with this Checkings. The XDK support xlint and jshint in the Editor.

You can see here how to configure it https://software.intel.com/en-us/xdk/docs/using-the-editor-in-the-develop-tab (Section "Configure JSHint") 

Reply