Post

Replies

Boosts

Views

Created

Reset Authorization Status for WorkoutKit UITest
Hi! I'm working on WorkoutKit application and, when I'm running my UI Tests, I added an InterruptionMonitor for the WorkoutScheduler access popup, but the second time I launch the UITests, the Popup does not appear anymore cause the permission is guaranteed. The only solution that I've dounded is to add the app.resetAuthorizationStatus into the tearDown, but the parameter I should provide to this method, is a XCUIProtectedResource which does not contain any enum case that match with what I'm looking for. Does someone find a solution for that? Thanks, Victor Kπ
0
0
696
Aug ’23
WorkoutScheduler permission denied can't be changed
Hi! How can I authorize the WorkoutScheduler permissions after I denied if I can't see any option in Settings to make it? (Like Notification or Localization permission) Thank you! Victor Kπ
Replies
2
Boosts
0
Views
777
Activity
Aug ’23
Reset Authorization Status for WorkoutKit UITest
Hi! I'm working on WorkoutKit application and, when I'm running my UI Tests, I added an InterruptionMonitor for the WorkoutScheduler access popup, but the second time I launch the UITests, the Popup does not appear anymore cause the permission is guaranteed. The only solution that I've dounded is to add the app.resetAuthorizationStatus into the tearDown, but the parameter I should provide to this method, is a XCUIProtectedResource which does not contain any enum case that match with what I'm looking for. Does someone find a solution for that? Thanks, Victor Kπ
Replies
0
Boosts
0
Views
696
Activity
Aug ’23