Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception: MissingPluginException(No implementation found for method getSinglePermissionStatus on channel plugins.ly.com/permission) #40

Open
luckymehndiratta opened this issue Jan 14, 2020 · 14 comments

Comments

@luckymehndiratta
Copy link

i face this
Unhandled Exception: MissingPluginException(No implementation found for method getSinglePermissionStatus on channel plugins.ly.com/permission)

@kxait
Copy link

kxait commented Jan 16, 2020

same here

@Naveenkumar3506
Copy link

[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method getPermissionsStatus on channel plugins.ly.com/permission)

@maelfosso
Copy link

I also have the same issue

E/flutter (30581): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method getSinglePermissionStatus on channel plugins.ly.com/permission)
E/flutter (30581): #0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
E/flutter (30581): <asynchronous suspension>
E/flutter (30581): #1      Permission.getSinglePermissionStatus (package:permission/permission.dart:40:32)
E/flutter (30581): #2      _HomePageState.requestWritePermission (package:guitou/pages/home_page.dart:75:45)
E/flutter (30581): #3      _HomePageState.initState (package:guitou/pages/home_page.dart:60:5)
E/flutter (30581): #4      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4355:58)
E/flutter (30581): #5      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
E/flutter (30581): #6      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
E/flutter (30581): #7      Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
E/flutter (30581): #8      SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
E/flutter (30581): #9      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
E/flutter (30581): #10     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
E/flutter (30581): #11     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
E/flutter (30581): #12     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
E/flutter (30581): #13     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
E/flutter (30581): #14     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
E/flutter (30581): #15     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
E/flutter (30581): #16     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
E/flutter (30581): #17     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
E/flutter (30581): #18     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
E/flutter (30581): #19     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
E/flutter (30581): #20     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
E/flutter (30581): #21     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
E/flutter (30581): #22     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
E/flutter (30581): #23     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
E/flutter (30581): #24     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
E/flutter (30581): #25     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
E/flutter (30581): #26     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
E/flutter (30581): #27     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
E/flutter (30581): #28     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
E/flutter (30581): #29     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
E/flutter (30581): #30     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
E/flutter (30581): #31     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
E/flutter (30581): #32     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
E/flutter (30581): #33     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
E/flutter (30581): #34     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
E/flutter (30581): #35     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
E/flutter (30581): #36     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
E/flutter (30581): #37     Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
E/flutter (30581): #38     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
E/flutter (30581): #39     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
E/flutter (30581): #40     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
E/flutter (30581): #41     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
E/flutter (30581): #42     Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
E/flutter (30581): #43     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
E/flutter (30581): #44     Element.rebuild (package:flutter/src/widgets/framework.dart:3947
I/flutter (30581): 

@pockyzhang
Copy link

same here

@pockyzhang
Copy link

seems request permission in initState fails

@CurtesMalteser
Copy link

Same here. Any alternatives?

@Lomba8
Copy link

Lomba8 commented Apr 2, 2020

Same here:
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method getSinglePermissionStatus on channel plugins.ly.com/permission)
#0 MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:154

#1 MethodChannel.invokeMethod
package:flutter/…/services/platform_channel.dart:329
#2 Permission.getSinglePermissionStatus
package:permission/permission.dart:40
#3 _OrariSectionState.build.
package:Messedaglia/…/orari_section/orari_section.dart:128
#4 _InkResponseState._handleTap
package:flutter/…/material/ink_well.dart:779
#5 _InkResponseState.build.
package:flutter/…/material/ink_well.dart:862
#6 GestureRecognizer.invokeCallback
package:flutter/…/gestures/recognizer.dart:182
#7 TapGestureRecognizer.handleTapUp
package:flutter/…/gestures/tap.dart:504
#8 BaseTapGestureRecognizer._c<…>

@avvari-da
Copy link

Do this - #28 (comment)
Not changing to getSinglePermissionStatus, but to switch to https://pub.dartlang.org/packages/permission_handler

@kungsoft
Copy link

kungsoft commented May 8, 2020

E/flutter ( 4104): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method getSinglePermissionStatus on channel plugins.ly.com/permission)

@DSenanayake
Copy link

Same 👎

@XenonChau
Copy link

image
Author was not implemented it yet.(why publish it to pub?)

@pavelsust
Copy link

same problem facing

@ramin443
Copy link

ramin443 commented Jun 11, 2021

Instead of using the Permission.getsinglepermission, use Permission.getPermissionsStatus like:
`
List permissionnames=[PermissionName.Storage];

await Permission.getPermissionsStatus(permissionNames);
`
This solved the issue in my case

@myselfuser1
Copy link

This might help https://www.youtube.com/watch?v=uMvGpBOT0ZY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests