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

Navigator.notification.alert not work correctly on real device and xcode simulater.

Hello!

This code works for us on iPad (iOS 7.1).
Please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and post steps to reproduce.

GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

Navigator.notification.alert not work correctly on real device and xcode simulater.

Hello Maryna,
I have shared my app.
The step to reproduce is:
1.run my app, and click a list item on first page slide to the second page.
2.then click a list item on second page slide to third page.
3.then click the button at top right, you will see login page ,user id is "test4", password is "1234", login then you will see the target page.
4.leave the texaarea blank and click the button at top right with a check icon.
You will see the alert here.
It works well on Appery.io Tester App(iOS).
But it does not work correctly on a real device(iPhone 5s iOS 7.0.6),I have not tested on a iPad or other device.
The symptoms is when I click the button no alert popup,
but when I try to leave the app ,or I close the app and call it again,
all the alers poped up.

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

Navigator.notification.alert not work correctly on real device and xcode simulater.

Hello! We reproduced this issue. Looks like there is some problem with your app, because this code works in test app. We'll check what might be the problem, but it might take time.

Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

Navigator.notification.alert not work correctly on real device and xcode simulater.

Hello GodSpeed JP1,

Please check option "Render all pages in one HTML file (jQuery Mobile multi-page template)" in App settingsGeneral. I've tested your app on IOS6, it works fine with this option.

GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

Navigator.notification.alert not work correctly on real device and xcode simulater.

Hello Nikita,I tried the "Render all pages in one HTML file (jQuery Mobile multi-page template)" on a real device IOS7, it works,but the alert show speed is a little slowly.
And you know the "Render all pages in one HTML file (jQuery Mobile multi-page template)" makes the page load event only works at the first time page opened.
But I need run page load event everytime the page opened.SO if I use this option I need to change all my logic in page load event to page show event.
I really don't want to do this.
Any other option I can choose?

Return to “Issues”