sparrowcode / PermissionsKit

Universal API for request permission and get its statuses.
https://x.com/sparrowcode_ios
MIT License
5.64k stars 462 forks source link

Screen Record Permission #284

Closed swatisrivs closed 2 years ago

swatisrivs commented 2 years ago

Hi ,

My app uses SPPermissions to take various permissions from user, now I want to take screen record permission as well.. Do u have anything for the.

Thanks

ivanvorobei commented 2 years ago

Hi! Can you provide code for request permission and check state?

hanumanAbacus commented 2 years ago

@ivanvorobei we need to add ability to add customise permissions by extension, if we can use struct instead of enum this can be easily achieved

ivanvorobei commented 2 years ago

@ivanvorobei we need to add ability to add customise permissions by extension, if we can use struct instead of enum this can be easily achieved

It's available already. Check model permission like NotificationPermission, it's class.

Enum using like API wrapper for speed up.

P.s. why are you choose this issue to comment?

swatisrivs commented 2 years ago

Thanks for reaching out..my problem is solved..I was reinitializing windows frame that was preventn permission.

Regards Swati

On Thu, Apr 28, 2022, 10:14 AM Ivan Vorobei @.***> wrote:

@ivanvorobei https://github.com/ivanvorobei we need to add ability to add customise permissions by extension, if we can use struct instead of enum this can be easily achieved

It's available already. Check model permission like NotificationPermission, it's class.

Whim using like API wrapper for speed up.

P.s. why are you choose this issue to comment?

— Reply to this email directly, view it on GitHub https://github.com/sparrowcode/PermissionsKit/issues/284#issuecomment-1111740668, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIXO6LXRSVBFBHH7GHA7QTVHIJTFANCNFSM5QX7GRUQ . You are receiving this because you authored the thread.Message ID: @.***>