douglasjunior / react-native-recaptcha-that-works

⚛ A reCAPTCHA bridge for React Native that works (Android and iOS)
MIT License
164 stars 33 forks source link

The onExpire callback function is triggered. #61

Closed cmdssd closed 2 weeks ago

cmdssd commented 2 weeks ago

If the validation is passed, the webview window of the library will simply disappear. How do I trigger the onExpire callback?

douglasjunior commented 2 weeks ago

This is true: the onExpire will rarely be called, so it's important to trigger the recaptcha just before sending the token to the backend.