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

Cannot read properties of undefined (reading 'login') #23

Open
mustafaAly opened this issue Jun 6, 2023 · 5 comments
Open

Cannot read properties of undefined (reading 'login') #23

mustafaAly opened this issue Jun 6, 2023 · 5 comments

Comments

@mustafaAly
Copy link

I try to use MsAuthPlugin.login from const { MsAuthPlugin } = Plugins;
it gives me Cannot read properties of undefined (reading 'login')

any Help !

@bartwesselink
Copy link
Member

Hi @mustafaAly! Thank you so much for using the plugin. Have you followed the steps described in the Installation? https://github.com/recognizegroup/capacitor-plugin-msauth#installation

@mustafaAly
Copy link
Author

mustafaAly commented Jun 7, 2023

Hi @bartwesselink nice to meet you, yes I Followed the steps described
I'm using Capacitor V2 "2.4.6" is it a supported version or not, also should I inject or update the app module to work with "MsAuthPlugin "
or inject it on a component like this const { MsAuthPlugin } = Plugins;

thank you for your efforts

@bartwesselink
Copy link
Member

@mustafaAly could you try using the 2.x version of this plugin? Newer versions require Capacitor 3.0

@mustafaAly
Copy link
Author

@bartwesselink I already tried this, i try to use version 1 and version 2 also 0.0.X

@bartwesselink
Copy link
Member

@mustafaAly would you be able to provide a repository with a minimal demonstration of your issue, so we can see what is going on?

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

2 participants