PermissionsKit icon indicating copy to clipboard operation
PermissionsKit copied to clipboard

Delegate method when user taps on "settings" or "cancel"

Open CavalcanteLeo opened this issue 3 years ago • 2 comments

When you deny, PermissionsKit show up a alert with 2 options: "cancel" and "settings", you can change the text of settings using deniedPermissionAlertTexts

But I need to know if the user has tapped in some of these 2 buttons, and it's private

https://github.com/sparrowcode/PermissionsKit/blob/84ee165d34306d837cb80995de770be4726751c2/Sources/PermissionsKit/Services/PresenterService.swift#L42

https://github.com/sparrowcode/PermissionsKit/blob/84ee165d34306d837cb80995de770be4726751c2/Sources/PermissionsKit/Models/Permission.swift#L56

Is there a way to detect that?

CavalcanteLeo avatar May 11 '22 02:05 CavalcanteLeo

For now no way to detect it. In next version I am going to add it

ivanvorobei avatar May 11 '22 04:05 ivanvorobei

amazing, thanks in advance

CavalcanteLeo avatar May 11 '22 13:05 CavalcanteLeo

Closed because hasn't interface for now.

ivanvorobei avatar Sep 26 '23 19:09 ivanvorobei