just1and0 / React-Native-Paystack-WebView

💸💳The package allows you accept payment using paystack and guess what, it doesn't require linking! just install and begin to use 🚀
https://paystack.com
MIT License
153 stars 102 forks source link

Prompt Modal closes automatically after user chooses his account/email #95

Closed okechukwu0127 closed 2 years ago

okechukwu0127 commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

When a user clicks on the GoogleSignIn Button, it loads the GoogleSignIn prompt modal for the user to select his google account. When the user click on his account from the prompt, the modal closes automatically. This happens on random devices as it works properly on some android devices.

I also notice that the issues happens more on the published app on playStore but works well on my development mode app when i run the app directly from my code editor.

Its really confusing since i cant figure out why the googleSignIn prompt suddenly closes after users chooses his account, thus taking the user back to the GoogleSignIn button to repeat the process again.

To Reproduce Steps to reproduce the behavior:

  1. Click on the GoogleSignIn Button
  2. on the Prompt modal, select/choose an account to continue
  3. After clicking on an account to use for your signIn
  4. The modal prompt closes. So user repeats the process again..

Expected behavior A clear and concise description of what you expected to happen.

When a user clicks on the GoogleSignIn button, he is presented with the Choose account promp-modal. He select an account of his chooses, after which he accpets the scope of access from the marchant and clicks on the continue button. Then the selected googleAccount info would returned from GoogleSignin.signIn();

Link to app on play store. https://play.google.com/store/apps/details?id=com.betBank&hl=en&gl=US

Link to a Video with the Bug https://drive.google.com/file/d/1K-axClCgfyfsqAjBjlFy-bD8SlmlW1lG/view?usp=sharing

Screenshots WhatsApp Image 2022-01-25 at 5 48 01 PM

If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.