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

need to upload the selected document #23

Closed
Atominac opened this issue Apr 5, 2019 · 2 comments
Closed

need to upload the selected document #23

Atominac opened this issue Apr 5, 2019 · 2 comments

Comments

@Atominac
Copy link

Atominac commented Apr 5, 2019

No description provided.

@VyasPrachi
Copy link

VyasPrachi commented Apr 30, 2019

Hello @sidlatau ,
I have applied same code but I am getting below error:
I/flutter ( 5055): MissingPluginException(No implementation found for method pickDocument on channel flutter_document_picker)

Please help me out

@sidlatau
Copy link
Owner

sidlatau commented May 5, 2019

The plugin apparently hasn't been registered on the platform side. A few questions:

  1. Does it fail on iOS, Android, or both?
  2. Have you executed flutter run targeting that platform since you changed the pubspec file? This is needed to have Flutter inject plugin dependencies into the platform-specific parts of your app. Please note that hot restart/hot reload is not enough to trigger the injection.
  3. Does the GeneratedPluginRegistrant file that flutter run should have generated in your project contain a line registering the path provider plugin?
  4. Does your AppDelegate.m (iOS) or MainActivity.java (Android) contain a call to GeneratedPluginRegistrant asking it to register itself? Those calls should be made from the app launch method (application:didFinishLaunchingWithOptions: on iOS, onCreate on Android) as exemplified here.

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

3 participants