Page 1 of 2

Can't navigate to start page anymore after builder update

Posted: Fri Sep 01, 2017 2:50 pm
by Bernie

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.


Can't navigate to start page anymore after builder update

Posted: Fri Sep 01, 2017 6:51 pm
by Bernie

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...


Can't navigate to start page anymore after builder update

Posted: Sat Sep 02, 2017 1:19 pm
by Illya Stepanov

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.


Can't navigate to start page anymore after builder update

Posted: Mon Sep 04, 2017 3:44 pm
by Bernie

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


Can't navigate to start page anymore after builder update

Posted: Mon Sep 04, 2017 5:24 pm
by Bernie

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


Can't navigate to start page anymore after builder update

Posted: Tue Sep 05, 2017 4:23 pm
by Serhii Kulibaba

Hello Bernie,

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


Can't navigate to start page anymore after builder update

Posted: Fri Sep 08, 2017 1:30 am
by Bernie

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.


Can't navigate to start page anymore after builder update

Posted: Fri Sep 08, 2017 12:36 pm
by Serhii Kulibaba

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.


Can't navigate to start page anymore after builder update

Posted: Fri Sep 08, 2017 1:48 pm
by Bernie

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?


Can't navigate to start page anymore after builder update

Posted: Sat Sep 09, 2017 2:41 pm
by Serhii Kulibaba

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?