Vinny B
Posts: 0
Joined: Fri Aug 22, 2014 2:22 pm

app home screen wont work in tester

When i test my app on IOS in the appery tester i have an issue.

The app loads fine and I can navigate to any page. The problem is when I click the HOME button on any page i get a spinning circle and the app will not navigate to the home page.

I disabled all the components that load when the app loads and that didnt do anything

App name FDNY Firehouses and EMS Stations

I shared it with Support

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

app home screen wont work in tester

Hello Vinny,

Could you please clarify where exactly the homepage button is situated in your app? And how to reproduce the problem that you are facing.

Vinny B
Posts: 0
Joined: Fri Aug 22, 2014 2:22 pm

app home screen wont work in tester

From the homepage click the three lines on the top left corner of the screen. A panel window will open click companies / Units

From the company page click the home button.

It will work fine on a Computer

It does not work from within the Appery.io testing APP

NONE of the buttons that navigate you back to the home page woek Image Image Image

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

app home screen wont work in tester

Hello,

Please try to debug your app remotely using Weinre debugger (https://docs.appery.io/docs/weinre-de...).
Please check if there are any errors in the Weinre console.

Vinny B
Posts: 0
Joined: Fri Aug 22, 2014 2:22 pm

app home screen wont work in tester

Hello

I did as you asked.

The first pictures is me navigating to a page.

I made sure I was viewing the app on the phone through the APPERY.io tester by sending an alert
then I navigate to the COMPANY / UNITS page.
then I clicked HOME

You will see when I CLICK HOME is says LOAD thats it.

Image

The next image is my clicking to the NEWS feed page. IN BLUE

Then I clicked to the home Screen page IN RED

Image

I also renamed the homepage and that did not help.

I also changed the homepage to a different page and when I click the home button it does the same thing. So its not the home page itself.

I DONT KNOW if this related but I did add files directly to the app in the source tab a LONG time ago. I did remove them a LONG TIMES AGO but when I click undo all source changes the folders are still blue like when you add files to them.
You can see that the CSS folder is blue but there is no custom CSS files.

Image

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

app home screen wont work in tester

Please delete edited (blue colored) files on Source tab and click Undo all source changes on the folder with edited files.

Vinny B
Posts: 0
Joined: Fri Aug 22, 2014 2:22 pm

app home screen wont work in tester

It did nothing and my app still has the blue folders that are created by appery and has no files I manually added.

Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

app home screen wont work in tester

Vinny,

The issue is that when you navigate to a Page that's cached by IOS / The browser / or by the Android OS - you need to specify when calling that page back - to do a reload - you can do that this way (drop this function into a new Javscript asset - call it OpenPage.JS)...

function fOpenPage(sPageName, bReload ) {
if (!bReload)
{ bReload = false ;}
try {
Apperyio.navigateTo(sPageName.trim(), {
transition: 'slidedown',
reverse: false,
changeHash: false,
dataUrl: undefined,
reloadPage: bReload,
role: undefined,
allowSamePageTransition: false
});
return true;
} catch (e) {
// the page load failed.... inform user and recall ...
alert('Failed to load page due to network error - please re-try');
console.log(e);
return false;
}

}

In your source for the button, click event or whatever, say Javascript - and then if you are calling your 'home' page - say it's called MyHomePage - then in the Javascript enter:

fOpenPage('MyHomePage', true );

Best,

Bruce

Image

Vinny B
Posts: 0
Joined: Fri Aug 22, 2014 2:22 pm

app home screen wont work in tester

Thanks Bruce but I would prefer not to use a work around.

Vinny B
Posts: 0
Joined: Fri Aug 22, 2014 2:22 pm

app home screen wont work in tester

Update ANY page that i make the start page in Appery.io settings will function the same and will NOT load in the Appery.io tester.

Return to “Issues”