once10301 / permission

Other
66 stars 58 forks source link

Error: MissingPluginException(No implementation found for method getSinglePermissionStatus on channel plugins.ly.com/permission) #28

Closed MawiraIke closed 5 years ago

MawiraIke commented 5 years ago

Got this error on Android

Code:

var permissionStatus =
        await Permission.getSinglePermissionStatus(PermissionName.Storage);
    return permissionStatus;
DerKapp commented 5 years ago

Yeah I had the same issue. For Android you have to use the getPermissionStatus method and for IOS the getSinglePermissionStatus.. That's why I switched to https://pub.dartlang.org/packages/permission_handler

MawiraIke commented 5 years ago

Thanks @Kappadona

lifenautjoe commented 5 years ago

Wow this plugin is horrible. Thanks for the heads up.

XenonChau commented 4 years ago

Yeah I had the same issue. For Android you have to use the getPermissionStatus method and for IOS the getSinglePermissionStatus.. That's why I switched to https://pub.dartlang.org/packages/permission_handler

but there is a problem that no internet permission verification in this package.

ahmarDebugger commented 3 years ago

Yeah I had the same issue. For Android you have to use the getPermissionStatus method and for IOS the getSinglePermissionStatus.. That's why I switched to https://pub.dartlang.org/packages/permission_handler

but there is a problem that no internet permission verification in this package.

same issue