Cordova - Issue navigating some links in a Confluence/Gliffy diagram opened with InAppBrowser

93 Views Asked by At

I am building a Cordova Application that allows to browse an Atlassian Confluence site containing navigable diagrams. My diagrams are built with Gliffy and I want to navigate from one page to another via clickable diagram elements. I realized such navigation structure and it works fine in browsers. You can check it out at this link (click on M_Function).

In my Cordova app I am using InAppBrowser and, after a login screen, I am redirecting to a page of my mobile-oriented website (again, an Atlassian Confluence site) this way:

var ref = cordova.InAppBrowser.open('http://51.255.206.207:8090/pages/viewpage.action?pageId=1245261' + page, '_self', 'location=no');

On my website, I have menus and diagrams. When I click on menu items, everything works correctly, but when I click on the clickable shapes from the diagrams, I get an error (the page does not exist).

What's wrong with Confluence/Gliffy links? What's the difference between the app and the browser?

Or, at lease, how do I get to know the URL I am trying to reach from the app?

0

There are 0 best solutions below