Hello All,
I have a Widget that is date based (updates at midnight) that works in the Simulator, but for some reason does not work on an actual device.
I checked online and the suggestion that I found was to ensure that the OS version is the same, which they are, but still it's not working.
Here's how I am testing on Simulator:
1) Set date time to 11:58.
2) Allow the system clock to roll over to midnight.
3) The widget updates - expected behavior.
On Device:
1) Set screen auto lock to never.
2) Charge the phone.
3) Clock rolls to midnight, the Widget does not update.
Which also brings me to my second question, is there a way to detect a Widget update when the phone is locked?
Thank you
I have a Widget that is date based (updates at midnight) that works in the Simulator, but for some reason does not work on an actual device.
I checked online and the suggestion that I found was to ensure that the OS version is the same, which they are, but still it's not working.
Here's how I am testing on Simulator:
1) Set date time to 11:58.
2) Allow the system clock to roll over to midnight.
3) The widget updates - expected behavior.
On Device:
1) Set screen auto lock to never.
2) Charge the phone.
3) Clock rolls to midnight, the Widget does not update.
Which also brings me to my second question, is there a way to detect a Widget update when the phone is locked?
Thank you