Denise
Posts: 0
Joined: Wed Jan 30, 2013 5:59 am

Please help me, app rejected due to content not loading?

Bascialy what seems to be happening is that it is loading the link that is set in mobilelink1_17, should i rather make this a label or text or some other element as the actual link is saying the page couldn't be found? Although when I take the javascript away it loads the correct link over the link in the element??

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Please help me, app rejected due to content not loading?

Hi, on page ChairInfo you have to delete next JS

codeif (navigator.app !== undefined) {
navigator.app.loadUrl(Tiggzi('mobilelink1_17').attr('href'), { openExternal:true } );
} else {
window.open(Tiggzi('mobilelink1_17').attr('href'), '_blank');
}
event.preventDefault();
return false;/code

from mapping link -- mobilelink1_17 (URL). There shouldn't be any JS

Image

Put that script on mobilelink1_17 Click event

Image

Denise
Posts: 0
Joined: Wed Jan 30, 2013 5:59 am

Please help me, app rejected due to content not loading?

OMG thanks you are wonderful that works great! Sorry to be so slow at working it out!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Please help me, app rejected due to content not loading?

No worries, glad to help:)

Denise
Posts: 0
Joined: Wed Jan 30, 2013 5:59 am

Please help me, app rejected due to content not loading?

Hi there so this works great when testing on the browser but once I try it on the phone, what happens is that the page loads in the phone window and the browser, this is a problem as I have no way of getting back to my app menu if the website is loaded into the app itself! Please what am I missing?

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

Please help me, app rejected due to content not loading?

Hi Denise,

Please clarify. Do you want Header and Footer to be visible when external address is opened?

Denise
Posts: 0
Joined: Wed Jan 30, 2013 5:59 am

Please help me, app rejected due to content not loading?

Ideally what I would like is for the link to open up into a browser and NOT in the app, but if it has to open in the app window then I need some way to get back to the home page so yes having the header and footer stay visible would be best.

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

Please help me, app rejected due to content not loading?

We will search for a solution. I'll update.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Please help me, app rejected due to content not loading?

Hi, it seems there is no way to show Header and Footer when external address is opened. You can use childBrowser.

Instead of

codeif (navigator.app !== undefined) {
navigator.app.loadUrl(Tiggzi('mobilelink1_17').attr('href'), { openExternal:true } );
} else {
window.open(Tiggzi('mobilelink1_17').attr('href'), '_blank');
}
event.preventDefault();
return false;/code

use codeif (window.plugins !== undefined) {
window.plugins.childBrowser.showWebPage(Tiggzi('mobilelink1_17').attr('href'), {showNavigationBar: false, showAddress: false, showLocationBar: false});
} else {
window.open(Tiggzi('mobilelink1_17').attr('href'), '_blank');
}
event.preventDefault();
return false;/code

Denise
Posts: 0
Joined: Wed Jan 30, 2013 5:59 am

Please help me, app rejected due to content not loading?

I have tried the above and have also tried looking for a solution : (
There must be some way to do this?? The link loads into the external window and into the app window, it really needs to just load into the browser window. Any other suggestions?

Return to “Issues”