Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

Can't navigate to start page anymore after builder update

Using

Appery.navigateTo("Start", {});

for navigating to my start page won't work any longer after builder update when I am exporting and testing an Android apk file.

Navigating to other pages seems to work fine.
I tested all underlying scripts of the start page, but could not find the problem.
I even switched off all loading scripts of the start page, but the issue persists.

The name of the app is "ReporterApp" and it is shared with Appery.io support.

Please, take a look at this ASAP.
Thank you in advance.

Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

Can't navigate to start page anymore after builder update

How to locate the error:
Basically you can select any icon on the start page and then try to go back by using the upper left back icon in the header.
Then the wheel starts spinning and spinning and spinning...

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

Can't navigate to start page anymore after builder update

Hello Bernie,

I've tested your app in the browser - and navigation in the app works for me. But there are errors in browser console when running your app:
Image

Could you please also specify on which Android version you're testing your app.

Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

Can't navigate to start page anymore after builder update

Hi Illya,

I incorporated a Google Maps API key.
So the errors that you found are eliminated.

I am testing with Android version 7.1.2

But I still can't navigate to my Start page with using "Apperyio.navigateTo('Start');"

Debugging shows the following: Image

Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

Can't navigate to start page anymore after builder update

And...testing in the browser works fine, but it does not work when exported as an apk file and tested on the Android 7 device

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

Can't navigate to start page anymore after builder update

Hello Bernie,

Please add the Browser API key into the App settings-Components tab

Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

Can't navigate to start page anymore after builder update

Serhii,
The API Key works fine now.

I also could locate the error.

Using the navigateTo - wrapper does not work:
Apperyio.navigateTo("StartReporter", {});
(To-page never opens, spinning wheel won't stop)

What does work is:

window.location = 'StartReporter.html';

There wasn't an issue with that before the last builder update.
Could you please give any advice on what the latest syntax should be when using the Appery.io navigateTo - wrapper? Please, also give an example with/without refresh.

Thank you in advance.

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

Can't navigate to start page anymore after builder update

Please check if there are any errors in the browser console. You can learn here: https://docs.appery.io/docs/using-bro... how to open the console.

Could you please clarify have you changed anything on the Source tab?
If you did, these custom changes might cause the issue.

Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

Can't navigate to start page anymore after builder update

Serhii,

It's all debugged and in the web browser it works perfectly fine.
The problem only occurs when the app is exported and is installed on a native device. I did test various devices from Android 4 to 7. Same weird behavior on all of them.

So looking for errors in the browser console has been done.
The only thing that pops up is the one I posted earlier in this thread.

Also I did roll back all web source changes. Did not help either.

I also rebuilt the start page, thinking it was corrupt or damaged. Did not help either.

Any other ideas?

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

Can't navigate to start page anymore after builder update

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?

Return to “Issues”