abacritt / angularx-social-login

Social login and authentication module for Angular 17
630 stars 387 forks source link

social login working fine on web browser, but not after converting the app to android using capacitor #587

Closed neerajp67 closed 1 year ago

neerajp67 commented 1 year ago

Iam trying to allow users to login using facebook/google. On browser (laptop) it is working absolutly file, but when i am trying to do same with android (angular app converted using capacitor) I'm getting an error whenever calling login function: "Msg: ERROR Error: Uncaught (in promise): Login providers not ready yet. Are there errors on your console?"

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

CmarkoLukas commented 1 year ago

Hey, Have you been able to figure this out ? I have the same issue and i am afraid this approach wont work on android and ios app using Capacitor

neerajp67 commented 1 year ago

Hi, This didn't work for me. Now I'm using 'codetrix-studio/capacitor-google-auth' for google sign in, and 'capacitor-community/facebook-login' for facebook sign in. Thanks

CmarkoLukas commented 1 year ago

Thank you so much for letting me know, can you tell please if those are working fine for Web browsers as well ? Was it hard to implement ? Thank you

neerajp67 commented 1 year ago

yes, for me it's working fine on web and android. It's not hard to implement. Just Follow the documentation instructions. Or can watch any relevant YouTube video.