douglasjunior / react-native-recaptcha-that-works

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

invisible #15

Closed mike-minchenko closed 2 years ago

mike-minchenko commented 3 years ago

hi! Can you do this? so that when the property is invisible, the captcha icon in the right, bottom corner is not visible. You can give a webview component, for example, flex = 0. And the background Loading component, darkening. Users are annoyed by this banner

mike-minchenko commented 3 years ago

it would be necessary to set the default color for the indicator for android, otherwise it is not visible

douglasjunior commented 3 years ago

I think that is better to create a Prop to pass a custom ActivityIndicator.

victor-cui-brigit commented 2 years ago

I would like a way to do this too! When you say "create a prop to pass a custom ActivityIndicator", is that something we can do using the library or would we have to modify this repo's source code?

douglasjunior commented 2 years ago

Done in 1.2.0 https://github.com/douglasjunior/react-native-recaptcha-that-works/releases/tag/1.2.0

victor-cui-brigit commented 2 years ago

could you please give an example of how to use the latest version (1.2.0) to hide the captcha icon on the bottom right corner? Would I pass a custom webview prop, custom modal prop, or a custom loading component?

Sowed commented 2 years ago

could you please give an example of how to use the latest version (1.2.0) to hide the captcha icon on the bottom right corner? Would I pass a custom webview prop, custom modal prop, or a custom loading component?

@victor-cui-brigit , using the hideBadge prop alongside size=hidden

douglasjunior commented 2 years ago

Take a look at the docs section: https://github.com/douglasjunior/react-native-recaptcha-that-works#props

image