Baseflow / flutter-permission-handler

Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.
https://baseflow.com
MIT License
2.05k stars 859 forks source link

fix compile error with web 1.0 #1363 #1364

Closed hpoul closed 3 months ago

hpoul commented 3 months ago

web 1.0.0 removed PermissionDescriptor: https://github.com/dart-lang/web/commit/7604578eb538c471d438608673c037121d95dba5#diff-6f4c7956b6e25b547b16fc561e54d5e7d520d2c79a59ace4438c60913cc2b1a2L35-L40 - I have simply copied it over to this project.

TimHoogstrate commented 3 months ago

Dear @hpoul,

Thanks for your input. I've left a question because it could be a breaking change if you upgrade the minimal environment sdk.

Kind regards,