Post

Replies

Boosts

Views

Activity

Comment on iOS 16 Live Activities Lock Screen widget
From the documentation you can START an activity only from the foreground. Given push, and the nature of the activity, you should be able to UPDATE from the background. I plan to test this out and file feedback if I can't get it to work. @haozes, what background capability are you using that you're trying to update from the background?
Topic: App & System Services SubTopic: General Tags:
Aug ’22
Comment on iOS 16 Live Activities Lock Screen widget
I have only gotten the activity to show for requests that set the push token to nil. I haven't explored the push based activity very far yet. Note the default value of the pushType parameter is to set to push, so ensure you set it to nil if you want local. For my "local only" activities, I've also experience the simulator not showing them (FB11064112). I would encourage you to file a feedback too and post the number in here.
Topic: App & System Services SubTopic: General Tags:
Aug ’22
Comment on iOS 16 Live Activities Lock Screen widget
From the documentation you can START an activity only from the foreground. Given push, and the nature of the activity, you should be able to UPDATE from the background. I plan to test this out and file feedback if I can't get it to work. @haozes, what background capability are you using that you're trying to update from the background?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on iOS 16 Live Activities Lock Screen widget
@Gama_, right now the behavior is you request an activity and if your code is good and device setup correct, you're granted in first time without a permission prompt. There is a toggle in Settings > Your App > Live Activities, but I've created a feedback for an explicit user permission prompt. FB11210596
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on iOS 16 Live Activities Lock Screen widget
I have only gotten the activity to show for requests that set the push token to nil. I haven't explored the push based activity very far yet. Note the default value of the pushType parameter is to set to push, so ensure you set it to nil if you want local. For my "local only" activities, I've also experience the simulator not showing them (FB11064112). I would encourage you to file a feedback too and post the number in here.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’22