react-native-signature-canvas
react-native-signature-canvas copied to clipboard
targetSdkVersion=29
Hi, targetSdkVersion= 28 is normal, but Android shows nothing when targetSdkVersion=29 (gray screen).
you can try this example: https://github.com/YanYuanFE/react-native-signature-canvas/tree/master/example/signapp, I run it with Android 10 and API 29, work fine.
The error is happening when using version [email protected] with SdkVersion 29 , they are dependencies from my project:
"dependencies": { "react": "16.8.3", "react-native": "0.59.2", "react-native-signature-canvas": "^1.4.2", ... },
--- android/buil.gradle buildscript { ext { buildToolsVersion = "29.0.2" minSdkVersion = 16 compileSdkVersion = 29 targetSdkVersion = 29 supportLibVersion = "29.0.0" } ...
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
...
}
} ...
--- android/gradle/wrapper/gradle-wapper.properties ... distributionUrl=https://services.gradle.org/distributions/gradle-6.2-all.zip
by the way, does version @1.4.2 not need react-native-web?
@andre-v2 did you solve this issue?, my problem is the draw pen didn't show anything
@ andre-v2 você resolveu este problema? Meu problema é que a caneta não mostrou nada
my solution was to update react-native to 0.63.2 and react-native-signature-canvas to 3.1.0 with react-native-webview 10.3.2
the draw pen didn't show anything, only show clean canvas, how to solve this?
@indrapuji Hi, Please provide code example not work,for example Github repo