Buggy example code - Google login prompt immediately disappears

I am hoping to use tKey with React Native, and I was told by a web3auth dev to refer to the example repo at torusresearch/react-native-self-host-example (can’t post link or my post gets blocked). However, the example app does not appear to work.

Steps to reproduce

  • clone react-native-self-host-example
  • set up according to readme
  • run sample ios app
  • tap “login”

Expected behavior

  • a prompt like “HelloWorld wants to use google.com to sign in” appears and stays until the user selects “continue” or “cancel”

Actual behavior

  • the prompt appears, but then immediately disappears

When I tried timing it so I pressed Continue before it disappears (no easy feat… the thing is gone in less than a second), nothing happened.

When I installed customauth-react-native-sdk in my project and tried using it, the same bug appears. My code uses the same parameters as the example in customauth-react-native-sdk. I am unable to link to it due to some rather aggressive spam filters on this community page.

This blocks my company’s integration with web3auth. We will be a paying customer if we manage to integrate. Can you fix your example and let me know of any workarounds I might need for my integration?