Timer does not work when started from widget



1 comment

  • Official comment

    Apple treat widget as app but with many restrictions. Widget cannot raise notification, cancel notification or set the badge number on the app icon.

    So if user start / stop the activity  in the widget on lock window, it will ask user to unlock the device and then will open ATracker to create / cancel notification. It works fine if user do unlock the screen. But if user does not unlock it, that process will be terminated, thus the task is started / stopped, but the notification part is not raised / cancelled. 

    Comment actions Permalink

Please sign in to leave a comment.