react-social-login-buttons icon indicating copy to clipboard operation
react-social-login-buttons copied to clipboard

Can't use this in react native

Open danijel2017 opened this issue 7 years ago • 8 comments

image

image

I can't use this lib in react native. Above images is the error I got and my code. Please give me tip.

danijel2017 avatar Feb 27 '19 10:02 danijel2017

how can i use this, ?....

zidniryi avatar Mar 18 '19 08:03 zidniryi

I alwayas error when use it, can you give an example for your repository, this make me confused about how i do?.

zidniryi avatar Mar 18 '19 08:03 zidniryi

The support for react native is unfortunately not yet implemented. Feel free to create a PR.

michaeljscript avatar Mar 27 '19 12:03 michaeljscript

Use this https://github.com/rtgstudio/rtg-react-native-social-buttons

devpriyanshukumar avatar Jun 15 '19 19:06 devpriyanshukumar

@danijel2017 could you try the latest version - 3.0.0?

michaeljscript avatar Aug 02 '19 13:08 michaeljscript

@MichalSzorad i get the same error, also on 3.0.0

styrken avatar Apr 28 '20 19:04 styrken

There is no support for react-native at the moment, please feel free to submit a PR. Thank you!

michaeljscript avatar Mar 05 '21 15:03 michaeljscript

@danijel2017 @zidniryi @styrken The errors shown are due to the library using components that do no exist in react-native (specifically div). I would recommend using a react-native social button library instead. I cam across https://github.com/rnsb-community/react-native-social-buttons and added typescript to it. It is not as robust as @michaeljscript's but it does work in react-native.

I think this issue should be closed.

angelxmoreno avatar Apr 20 '24 19:04 angelxmoreno