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

Google Login does not work on Android #1

Open
rooswelt opened this issue Dec 22, 2019 · 3 comments
Open

Google Login does not work on Android #1

rooswelt opened this issue Dec 22, 2019 · 3 comments

Comments

@rooswelt
Copy link

When try to login with google, opens account selection in browser, then a white page

@rams23
Copy link
Member

rams23 commented Jan 12, 2020

Hi @rooswelt sorry for late reply. Did you see any error or log to help identify the problem?

@simplenetworks
Copy link

No error in log, I also tried to use "ionic" branch to have native login, but I have this runtime error:

NullInjectorError: StaticInjectorError(AppModule)[ProvidersManagementEffects -> InjectionToken userManagement.config]: StaticInjectorError(Platform: core)[ProvidersManagementEffects -> InjectionToken userManagement.config]: NullInjectorError: No provider for InjectionToken userManagement.config! at NullInjector.get (http://localhost:8100/vendor.js:38445:27) at resolveToken (http://localhost:8100/vendor.js:40231:24) at tryResolveToken (http://localhost:8100/vendor.js:40157:16) at StaticInjector.get (http://localhost:8100/vendor.js:40020:20) at resolveToken (http://localhost:8100/vendor.js:40231:24) at tryResolveToken (http://localhost:8100/vendor.js:40157:16) at StaticInjector.get (http://localhost:8100/vendor.js:40020:20) at resolveNgModuleDep (http://localhost:8100/vendor.js:64070:29) at _createClass (http://localhost:8100/vendor.js:64147:32) at _createProviderInstance (http://localhost:8100/vendor.js:64103:26)

Do I need to create a userManagement.config file? Where should I put it?

Thanks in advance

@rams23
Copy link
Member

rams23 commented Jan 25, 2020

@simplenetworks I think i forgot to update the readme fot the ionic version you need to use the forRoot method of the module passing the googleWebClientId that is necessary for the native plugin: like this:

FirebaseNgrxUserManagementModule.forRoot({googleWebClientId:''}),

Truly sorry for this

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