YanYuanFE / react-native-signature-canvas

:black_nib: React Native Signature Component based WebView Canvas for Android && IOS && expo
MIT License
418 stars 150 forks source link

Not working on Android SDK built for arm64. #123

Open kumw1975 opened 3 years ago

kumw1975 commented 3 years ago

Does not render. nothing shows up on the screen. works on ios. see image Screen Shot 2021-04-07 at 12 50 36 PM

How to fix

YanYuanFE commented 3 years ago

You can first try whether react-native-webview can be used normally。

Skullcan commented 3 years ago

Found myself in the same situation, checked webview, it was working. Turns out the problem was with the formatting.

Removed/changed the WebStyle property and it works again.

I my case, used something to get the window height like this:

const windowHeight = Dimensions.get('window').height;

webStyle={`.m-signature-pad { top: 0; left: 0; right: 0; bottom: 0; min-height: ${windowHeight - 100}px; margin: 0; }}