Amplify Social Sign In Ionic+React on Android

I am planning to implement Social Sign in my Ionic+react android application. Currently i am using AWS Amplify. I have tested and found an issue:

  1. After click on sign in redirect to browser(google consent screen to sign in)
  2. After success, redirect back to the app
  3. Nothing happens. The app does not capture that i have signed in.

I have tried using the built in withAuthenticator function given by aws-amplify but same problem.

I have searched online and found out that maybe i need to implement deeplinking but I don’t know how to do that. This issue has been bothering me for months