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

I can't change the style of the recpatcha widget #54

Closed pedrokasak closed 4 months ago

pedrokasak commented 4 months ago

how can i modify the width of the recpatcha so that i can occupy the entire width of my div and make it so that when the recaptcha is finished the widget doesn't disappear but stays with the checked one, because any modification i make doesn't change the recaptcha widget.

I don't want to use it as a modal, but rather fit it into a form.

douglasjunior commented 4 months ago

The official customization available in Google reCAPTCHA is described in the props list https://github.com/douglasjunior/react-recaptcha-that-works?tab=readme-ov-file#props

Any additional customization is not guaranteed to work because Google can change their CSS and breaks everything.

pedrokasak commented 4 months ago

image

douglasjunior commented 4 months ago

Wait, are you talking about react-recaptcha-that-works or react-NATIVE-recaptcha-that-works? 😄

pedrokasak commented 4 months ago

react-NATIVE-recaptcha-that-works

douglasjunior commented 4 months ago

Ok, so I transferred the issue to the proper repository.

About the react-native, the available props are https://github.com/douglasjunior/react-native-recaptcha-that-works?tab=readme-ov-file#props

douglasjunior commented 4 months ago

About your initial question:

I don't want to use it as a modal, but rather fit it into a form.

Is not possible, because we cant know the size of the WebView, so we need to open it in full screen mode using a Modal.