jevonmao / jevonmao/PermissionsSwiftUI

[BUG] - AutoDismiss does not work.

Open
#157 0 comments 0 reactions 0 assignees View on GitHub
possible bug
Dominant language
Swift
Stars
1.6k
Forks
92
PR merge metrics
No merged PRs in 30d

Description

I have this code in

`.JMModal(
showModal: $isRequestPermissionVisible,
for: [.notification, .microphone, .camera, .photo, .siri, .contacts, .location, .opticBiometrics],
autoDismiss: true,
restrictDismissal: false,
onDisappear: {
requestedPermissions = true
}
)`
If all permissions are allowed, modal is not dissmissed at all.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the shown JMModal configuration with all listed permissions already allowed, then trace the JMModal autoDismiss behavior and its onDisappear callback. Done means the modal dismisses when all permissions are granted while preserving the expected callback behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.