Page 1 of 2

Published app acting differently from web and test based version

Posted: Wed Jun 25, 2014 12:54 am
by Aeneas McBurney

Hi,

I have just published a test app for android and downloaded onto my phone. When trying to find location with the installed app the alert "Searching for GPS" continues to flash on phone and will not find it. This does not happen if I open the same app in web browser or in test.

Also with the web browser version a panel opens once you are logged in and this does not trigger with the published app version. This may be because geolocation is not working though I'm not really sure.

Thanks,
Aeneas


Published app acting differently from web and test based version

Posted: Wed Jun 25, 2014 1:42 am
by Yurii Orishchuk

Hi Aeneas.

Please try to set your location service as shown on the following screen shot:

http://prntscr.com/3w7oli/direct

Regards.


Published app acting differently from web and test based version

Posted: Wed Jun 25, 2014 3:16 am
by Aeneas McBurney

That's fixed the location services issue but the panel is still not displaying on open in the app as it does in the test version.

Any ideas on this?


Published app acting differently from web and test based version

Posted: Wed Jun 25, 2014 3:54 am
by Yurii Orishchuk

Aeneas,

It's hard to say what is wrong with your code.

Please give us your app public link and describe details steps to reproduce your problem with panel.

Thanks.


Published app acting differently from web and test based version

Posted: Wed Jun 25, 2014 9:05 pm
by Lucas Cranach

Hi the app is at swapmyfx.app.appery.io. the issue is after you logon with facebook you are taken to the next screen which opens a panel on load event. This panel is not showing on published Android app.

Thanks


Published app acting differently from web and test based version

Posted: Thu Jun 26, 2014 1:02 am
by Yurii Orishchuk

Hi Aeneas,

Please use "Page show" event instead of "Page load" to open panel.

Regards.


Published app acting differently from web and test based version

Posted: Thu Jun 26, 2014 10:35 pm
by Aeneas McBurney

I have added this event to page show but now every time I select an item from a drop down list on the page the panel menu shows. This shouldn't happen.


Published app acting differently from web and test based version

Posted: Thu Jun 26, 2014 10:53 pm
by Aeneas McBurney

Also every time I navigate back to the page the even fires and I only want the panel to show on first open of app


Published app acting differently from web and test based version

Posted: Fri Jun 27, 2014 12:11 am
by Yurii Orishchuk

Hi Aeneas,

Ok, in this case delete this event handler.

And add "page load" event handler with following code:

pre

var onDelay = function(){

Code: Select all

 //Note you need replace "panel_35" with your panel component name. 
 Apperyio("panel_35").panel("open") 

};
window.setTimeout(onDelay, 1000);

/pre

Regards.


Published app acting differently from web and test based version

Posted: Fri Jun 27, 2014 5:27 am
by Aeneas McBurney

Hi, I have just tested this solution on the android app and its working better however every time I navigate back to this page from another page the panel shows again. Is there a way to only show this panel when the app is first started and this page is shown? Its the first one after facebook logon so wanted to display the menu but not the next time its navigated back to.