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

Missing Plugin Exception #393

Closed
sunilhari9 opened this issue Dec 6, 2022 · 4 comments
Closed

Missing Plugin Exception #393

sunilhari9 opened this issue Dec 6, 2022 · 4 comments

Comments

@sunilhari9
Copy link

sunilhari9 commented Dec 6, 2022

getting following error when using flutter_appauth plugin
MissingPluginException(No implementation found for method authorizeAndExchangeCode on channel crossingthestreams.io/flutter_appauth)
flutter_appauth: ^4.2.1
Flutter version 3.3.9
similar to this issue
#66

@sunilhari9 sunilhari9 changed the title MissingPluginException(No implementation found for method authorizeAndExchangeCode on channel crossingthestreams.io/flutter_appauth) Missing Plugin Exception Dec 6, 2022
@cickes
Copy link

cickes commented Dec 8, 2022

Same issue. Using the same versions as above when first experienced.

flutter_appauth: ^4.2.1  
Flutter version 3.3.9

Tried upgrading flutter to beta channel. Still experiencing same error.

    • Flutter version 3.6.0-0.1.pre on channel beta at /home/focused/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 75927305ff (3 weeks ago), 2022-11-17 05:52:50 +0530
    • Engine revision b754eabc98
    • Dart version 2.19.0 (build 2.19.0-374.1.beta)
    • DevTools version 2.19.0
flutter_appauth 4.2.1  
flutter_appauth_platform_interface 5.2.0  

Yields:

MissingPluginException(No implementation found for method authorizeAndExchangeCode on channel crossingthestreams.io/flutter_appauth```

@MaikuB
Copy link
Owner

MaikuB commented Dec 14, 2022

Please a link to repository hosting a minimal app that can reproduce the issue

@FloHin
Copy link

FloHin commented Jan 9, 2023

Same issue, just started a new flutter web project today, add examples of https://pub.dev/packages/flutter_appauth/example, and run against our testing keycloak -> MissingPluginException

I added a minimal example project here: https://github.com/FloHin/flutter-appauth-example/blob/main/lib/main.dart

it is mere copy&paste of the example in a new default project. You would need to add an oauth configuration

@MaikuB
Copy link
Owner

MaikuB commented Jan 14, 2023

@FloHin this plugin doesn't support web so this would be why you have the issue. If you look at pub.dev then you'll find that it state that web isn't one of the supported platforms and that the supported platforms are Android, iOS and macOS. This aligns with what is also stated in the readme

On a different note, i'll be closing this issue as the OP has yet to provide a link to a repository with a minimal app that can reproduce the issue

@MaikuB MaikuB closed this as completed Jan 14, 2023
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

4 participants