Hi
im building an Alarm type app
Can somebody please tell me how to change the time in simulator
this will save from having to install to device every time to test alarm with real time
thankyou
Hi
im building an Alarm type app
Can somebody please tell me how to change the time in simulator
this will save from having to install to device every time to test alarm with real time
thankyou
You could just copy os.time() into another variable, and then you can override that variable when testing.
akhtarx5, hope you know that corona app will only work while running in foreground. no background running in corona. if app is minimized or paused it will stop running. to build an alarm in corona, the only way I can think of is using local notifications.
Don’t all phones come with alarms for like the past 10 years now?
There are reasons people still want to build alarms into apps. I did a “Find my car” app and added a feature to let you get an alarm when your meter was set to expire.
You could just copy os.time() into another variable, and then you can override that variable when testing.
akhtarx5, hope you know that corona app will only work while running in foreground. no background running in corona. if app is minimized or paused it will stop running. to build an alarm in corona, the only way I can think of is using local notifications.
Don’t all phones come with alarms for like the past 10 years now?
There are reasons people still want to build alarms into apps. I did a “Find my car” app and added a feature to let you get an alarm when your meter was set to expire.