flutter-permission-handler icon indicating copy to clipboard operation
flutter-permission-handler copied to clipboard

Add support for Linux

Open guyluz11 opened this issue 4 years ago • 2 comments

Currently this package dose not support Linux.

Is there any intention to add support for it?.

image

guyluz11 avatar Jul 23 '21 00:07 guyluz11

I agree it's a bit frustrating. This error doesn't explain much:

MissingPluginException(No implementation found for method checkPermissionStatus on channel flutter.baseflow.com/permissions/methods)

If Linux is not supported at all then an Exception stating "Linux is not supported" would at least be clear.

In my first usage I'm happy for the bool Permission.notification.isGranted to default to true if the platform is not supported, so providing a simple way to do that and documenting it would be sufficient. As it is I'll have to catch an obscure exception and set the default there.

SoYoureAWaffleMan avatar Oct 11 '22 08:10 SoYoureAWaffleMan

We would consider adding support for Linux, although it is not our primary concern at this moment. If someone experienced with the Linux OS wants to take on this challenge, feel free to submit a PR. The Baseflow team can offer assistance where needed.

JeroenWeener avatar Aug 17 '23 09:08 JeroenWeener