react-native-signature-canvas
react-native-signature-canvas copied to clipboard
Using this library in the web expo
Is it possible to use this lib with Expo Web? I'm trying to do this but I have an error with forwardRef
@theusccruz did you ever figure this out I'm curios
@waltermvp I couldn't get this lib to work in the web expo, but I solved my problem in another way. My app needed mobile and web signatures, so I applied this lib to mobile expo and the react-signature-canvas lib to web expo.
thank your for the quick response :) Interesting, can you elaborate on :
so I applied this lib to mobile expo and the react-signature-canvas lib to web expo.
@theusscruz
you mean this for web ? https://github.com/agilgur5/react-signature-canvas
@waltermvp Yes, I used this one right there for the web.
I have a repository with an application that does exactly what I said. As I am Brazilian, an initial part of the readme will be in Portuguese, but at the end of the readme I left the same explanations in translated to English
link: https://github.com/theusccruz/signature-app
I hope this library focuses on the implementation of native functions. If you want to be compatible with the web, you can judge the Platform at the outer layer of the component to use other web-signed libraries. If you are interested, you can also try to submit a PR to be compatible with the web, thanks
@YanYuanFE
Fine, thanks for the reply!