-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TIMOB-12218] Adding test case for significanttimechange
event
#88
[TIMOB-12218] Adding test case for significanttimechange
event
#88
Conversation
…gal/ks_window_prop_fix True restoration of background color on Toggle Height/Width
…gal/timob-11315 [TIMOB-11315] Add Action Bar to KS
Titanium.App.addEventListener('significanttimechange',function(e) | ||
{ | ||
Ti.API.info("Time Change Event Received !! "); | ||
paused = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this set to true? The event can be received when the app is in foreground.
Code reviewed. One minor point. Otherwise looks good. |
FR also failed. When the screen first loads up, the two text labels overlap. Perhaps wrap them in a view with a vertical layout and add the view to the window. |
Noticed that on the simulator, the event is fired multiple times. Remove the alert because it is annoying. But the good news, I actually got the notification |
Sorry had some code from the copied over section. Cleaned up the code. Ready for review. |
Closing out PR as it is picking up older commits. Will make a new PR . |
To be tested along with TIMOB PR
GO TO PLATFORM > APPLICATION EVENTS
Background the app.
Change the time zone.(Settings > General > Date & Time > timezone)
Resume the app. You should see the Label change and an alert being fired.