react-native-signature-canvas icon indicating copy to clipboard operation
react-native-signature-canvas copied to clipboard

targetSdkVersion=29

Open andre-v2 opened this issue 4 years ago • 7 comments

Hi, targetSdkVersion= 28 is normal, but Android shows nothing when targetSdkVersion=29 (gray screen).

andre-v2 avatar Nov 16 '20 20:11 andre-v2

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.

YanYuanFE avatar Nov 17 '20 02:11 YanYuanFE

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

andre-v2 avatar Nov 18 '20 18:11 andre-v2

by the way, does version @1.4.2 not need react-native-web?

andre-v2 avatar Nov 18 '20 18:11 andre-v2

@andre-v2 did you solve this issue?, my problem is the draw pen didn't show anything

mfachmirizal avatar Dec 08 '20 06:12 mfachmirizal

@ 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

andre-v2 avatar Dec 14 '20 12:12 andre-v2

the draw pen didn't show anything, only show clean canvas, how to solve this?

indrapuji avatar Jan 20 '21 03:01 indrapuji

@indrapuji Hi, Please provide code example not work,for example Github repo

YanYuanFE avatar Jan 20 '21 05:01 YanYuanFE