Isvisoft / flutter_screen_recording

A new Flutter plugin for record the screen.
MIT License
146 stars 142 forks source link

How to get permission? #9

Closed abdullah432 closed 4 years ago

abdullah432 commented 4 years ago

When i install example of flutter_screen_recording. It automatically popup for permission. But when i request permission after adding dependency app does not popup for permission. I check code for getting permission in example but didn't found any. I'm wondering how the example get permission. I know "Flutter_Screen_Recorder do not request permissions necessary.".

salime45 commented 4 years ago

in the readme apear the info.

Flutter_Screen_Recorder do not request permissions necessary. You can use Permission_handler, a permissions plugin for Flutter.

salime45 commented 4 years ago

https://pub.dev/packages/permission_handler

abdullah432 commented 4 years ago

Thanks for replay. I read that but wondering how your github example request permission. I check permission plugin in your github example but didn't found you use it. I'm currently implementing it. That's just general question if you want to answer.

abdullah432 commented 4 years ago

Also which permission is needed for screen recording.

abdullah432 commented 4 years ago

Sir i'm waiting for your answer. I didn't now which permission is needed for screen recording. I already give following permission. 1) android.permission.RECORD_AUDIO 2) android.permission.WRITE_EXTERNAL_STORAGE 3) android.permission.READ_EXTERNAL_STORAGE But still not able to screen record. Which permission is needed for screen recording.