Skip to content

MissingPluginException (No implementation found for method getAll) #712

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

Closed
Shankar-Joshi opened this issue Mar 26, 2022 · 3 comments
Closed
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@Shankar-Joshi
Copy link

New Issue Checklist

Issue Description

I am using parse_server_sdk_flutter: ^3.1.0 in flutter but I am getting error as below:

[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel dev.fluttercommunity.plus/package_info)
#0 MethodChannel._invokeMethod

#1 MethodChannel.invokeMapMethod

#2 MethodChannelPackageInfo.getAll

#3 PackageInfo.fromPlatform

#4 main

Restarted application in 441ms.

It is throwing error at this function:

void main() async {
WidgetsFlutterBinding.ensureInitialized();

PackageInfo packageInfo = await PackageInfo.fromPlatform();

late final keyApplicationId = 'myappID';
late final keyClientKey = 'clientkey';
late final keyParseServerUrl = 'http://localhost:1337/parse';

await Parse().initialize(keyApplicationId, keyParseServerUrl,
clientKey: keyClientKey, debug: true);

runApp(MaterialApp(
home: Home(),
));
}

Steps to reproduce

Follow the current parse_server_sdk_flutter: ^3.1.0 docs and run app in windows.

Actual Outcome

I have tried everything that I found in google trying to troubleshoot but nothing working.

Expected Outcome

Environment

Flutter for windows app

Parse Flutter SDK

  • SDK version: arse_server_sdk_flutter: ^3.1.0
  • Operating system version: windows 10

Server

  • Parse Server version: [5.2.0]

Logs

if (result == null) {
if (missingOk) {
return null;
}
throw MissingPluginException('No implementation found for method $method on channel $name');

Exception has occurred.
MissingPluginException (MissingPluginException(No implementation found for method getAll on channel dev.fluttercommunity.plus/package_info))

@parse-github-assistant
Copy link

parse-github-assistant bot commented Mar 26, 2022

Thanks for opening this issue!

  • ❌ Please check all required checkboxes at the top, otherwise your issue will be closed.

  • ⚠️ Remember that a security vulnerability must only be reported confidentially, see our Security Policy. If you are not sure whether the issue is a security vulnerability, the safest way is to treat it as such and submit it confidentially to us for evaluation.

@Shankar-Joshi Shankar-Joshi reopened this Mar 26, 2022
@mtrezza mtrezza added the type:question Support or code-level question label Apr 13, 2022
@RodrigoSMarques
Copy link
Contributor

RodrigoSMarques commented Apr 25, 2022

The package is in the process of being updated and will be released in the next few days.

Please test and get back if it's ok.

In pubspec.yaml, make the changes below.

  #parse_server_sdk_flutter: ^3.1.0
  parse_server_sdk_flutter:
    git:
      url: https://github.com/RodrigoSMarques/Parse-SDK-Flutter.git
      ref: development
      path: packages/flutter

[Note that 3rd party forks of Parse Platform repositories are not reviewed by the Parse Community and may potentially contain changes in performance, quality and security. Use at your own risk.]

@mtrezza mtrezza changed the title [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel dev.fluttercommunity.plus/package_info) MissingPluginException (No implementation found for method getAll) Apr 25, 2022
@RodrigoSMarques RodrigoSMarques mentioned this issue May 2, 2022
5 tasks
@mtrezza mtrezza linked a pull request May 30, 2022 that will close this issue
5 tasks
@mtrezza mtrezza added type:bug Impaired feature or lacking behavior that is likely assumed and removed type:question Support or code-level question labels May 30, 2022
RodrigoSMarques added a commit to RodrigoSMarques/Parse-SDK-Flutter that referenced this issue Jun 2, 2022
### Bug Fixes
* Old version of connectivity_plus package ([parse-community#717](parse-community#717))
* package_info_plus not work in web ([parse-community#714](parse-community#714))
* MissingPluginException (No implementation found for method getAll) ([parse-community#712](parse-community#712))
* Query fails for subclassed Parse object in Parse relation ([parse-community#697](parse-community#697))
* ParseRelation#query - Unhandled Exception: type 'ParseObject' is not a subtype of type ([parse-community#696](parse-community#696))
* Error in progressCallback ([parse-community#679](parse-community#679))
* first: Correct return type ([parse-community#661](parse-community#661))
* ParseLiveListWidget MongoError ([parse-community#653](parse-community#653))

* General improvements
* Updated dependencies
* Fix Label Platform Web Support in pub.dev - Refactor path_provider access
@mbfakourii
Copy link
Member

Solved via #762

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants