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

[Bug]: IOS Error MissingPluginException(No implementation found for method authenticate on channel flutter_web_auth_2) #145

Closed
2 tasks done
hungdt2nf opened this issue Nov 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hungdt2nf
Copy link

Description

Hi.
My redicrect URL is custom sheme: ://callback
It is not https.
I tested it on Android device and it works fine.

But when I run it on IOS device, the following error appears:
MissingPluginException(No implementation found for method authenticate on channel flutter_web_auth_2)
I'm not sure if I'm missing any config.

Minimal Reproduction

Steps to reproduce the behaviour:

  1. Use the following code:
    final result = await FlutterWebAuth2.authenticate(
                url: state.url,
                callbackUrlScheme: '<mycustomscheme>',
              );
  2. Just call function in step 1.

Exception or Error

MissingPluginException(No implementation found for method authenticate on channel flutter_web_auth_2)

Expected Behaviour

Open brower

Screenshots

No response

Additional context

No response

Device

Iphone 11

OS

IOS 16.6.1

Browser

Chrome

Flutter version

3.24.5

flutter_web_auth_2 version

4.0.2

Checklist

  • I have read and followed the entire troubleshooting guide and it has not provided the solution I need.
  • I have provided all the information I can.
@hungdt2nf hungdt2nf added the bug Something isn't working label Nov 26, 2024
@ThexXTURBOXx
Copy link
Owner

There have been numerous issues about this exact problem already: https://github.com/ThexXTURBOXx/flutter_web_auth_2/issues?q=MissingPluginException
For example, most recently, #102 and #126
Please look there if they solve the problem. In the mean time, I will close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants