Comments (24)
You can try this example,https://github.com/YanYuanFE/react-native-signature-canvas/tree/master/example/expo-app, it's work fine, you use autoClear={true} , signature will be clear when onEnd, if you want use button to control the signature, you don't need use autoClear and onEnd event.
Hi! All I meant is that canvas neither drawing anything, neither any buttons work. Clicking and dragging over the canvas makes no effect on Android (nothing drawing, the canvas always empty).
from react-native-signature-canvas.
not rendering at all on android
from react-native-signature-canvas.
@YanYuanFE I recorded a comparison of iOS and Android, where you can see that Android has no effect when drawing -> https://streamable.com/ud5xyf
from react-native-signature-canvas.
@henryrossiter,https: //streamable.com/f7e3i0,在Nexus 6P,Android 7.0上可以正常工作,我使用以下示例:https : //github.com/YanYuanFE/react-native-signature-canvas/tree/master/example / expo-app
Hello targetSdkVersion= 28 is normal, but Android shows nothing when targetSdkVersion=29.
I am having the same problem, did you manage to solve it?
Are you use expo project? How to set the targetSdkVersion in expo project?because I only see targetSdkVersion in react-native-cli project.
from react-native-signature-canvas.
@andre-v2 @RamonEspinosa #76,
sdkVersion issue
I solved it by upgrading react native from 0.59 to 0.63 and using react-native-signature-canvas 2.6.0. Upgrading is kind of hard but I followed this guide. I reckon everyone should do this due to the new play store requirements
from react-native-signature-canvas.
You can try this example,https://github.com/YanYuanFE/react-native-signature-canvas/tree/master/example/expo-app, it's work fine, you use autoClear={true} , signature will be clear when onEnd, if you want use button to control the signature, you don't need use autoClear and onEnd event.
from react-native-signature-canvas.
@NeliHarbuzava I recorded a video for android, It's work fine,
https://streamable.com/bzm99l
use Nexus 5X, Android 10
from react-native-signature-canvas.
I am experiencing this issue as well. No issues on iOS. With android ( Nexus 6P, Android 7.0), the canvas remains empty.
from react-native-signature-canvas.
I am experiencing this issue as well. No issues on iOS. With android ( Nexus 6P, Android 7.0), the canvas remains empty.
With Android 9.0, however, I can use the canvas without issues.
from react-native-signature-canvas.
@henryrossiter , https://streamable.com/f7e3i0, work fine on Nexus 6P, Android 7.0, I use this example: https://github.com/YanYuanFE/react-native-signature-canvas/tree/master/example/expo-app
from react-native-signature-canvas.
Hi, apparently the library is not compatible with api level 23. Only on canvas, the library is not paint layers. Any solution?
from react-native-signature-canvas.
@henryrossiter,https: //streamable.com/f7e3i0,在Nexus 6P,Android 7.0上可以正常工作,我使用以下示例:https : //github.com/YanYuanFE/react-native-signature-canvas/tree/master/example / expo-app
Hello targetSdkVersion= 28 is normal, but Android shows nothing when targetSdkVersion=29.
from react-native-signature-canvas.
@henryrossiter,https: //streamable.com/f7e3i0,在Nexus 6P,Android 7.0上可以正常工作,我使用以下示例:https : //github.com/YanYuanFE/react-native-signature-canvas/tree/master/example / expo-app
Hello targetSdkVersion= 28 is normal, but Android shows nothing when targetSdkVersion=29.
I am having the same problem, did you manage to solve it?
from react-native-signature-canvas.
@henryrossiter,https: //streamable.com/f7e3i0,在Nexus 6P,Android 7.0上可以正常工作,我使用以下示例:https : //github.com/YanYuanFE/react-native-signature-canvas/tree/master/example / expo-app
Hello targetSdkVersion= 28 is normal, but Android shows nothing when targetSdkVersion=29.
I am having the same problem, did you manage to solve it?
from react-native-signature-canvas.
@andre-v2 @RamonEspinosa #76,
sdkVersion issue
from react-native-signature-canvas.
Exactly experienced same issue in Android. Drawing nothing.
from react-native-signature-canvas.
for me removing onEnd event from this https://github.com/YanYuanFE/react-native-signature-canvas/blob/master/example/expo-app/SignModal.js and setting a signature in state making this example working
from react-native-signature-canvas.
I am facing the same issue with "react-native-signature-canvas". It works fine in the simulator and also in the device when I scan QR from the expo app but when I generate an APK file from the expo and run it on the android device the application got crashes.
Can anyone guide me or suggest a new plugin for signature that works for both android and ios device?
from react-native-signature-canvas.
@Brinda221patel build the html and js in webview
from react-native-signature-canvas.
@Brinda221patel build the html and js in webview
- Can you please explain in detail? I need to convert the EXPO app into an APK file. The "react-native-signature-canvas" plugin works fine when we run "npm start" and scan QR with the android device but when I generate an APK file expo using (eas build -p android --profile preview ) and run that APK file in the android device the application got crashed due this ('react-native-signature-canvas') plugin
from react-native-signature-canvas.
https://github.com/szimek/signature_pad/tree/gh-pages
@benchris921 put the contents of these files in backticks (`` )
call that from a webview. it should fix that.
const html = `<!doctype html> .. put the css in style tags in the head`
const js = `jscontent`
<WebView
source={{ html: html }}
onMessage={(event) => {}}
injectedJavaScript={js}
/>
from react-native-signature-canvas.
@Brinda221patel build the html and js in webview
- Can you please explain in detail? I need to convert the EXPO app into an APK file. The "react-native-signature-canvas" plugin works fine when we run "npm start" and scan QR with the android device but when I generate an APK file expo using (eas build -p android --profile preview ) and run that APK file in the android device the application got crashed due this ('react-native-signature-canvas') plugin
Hi @Brinda221patel have you get any solution? I am facing same issue
from react-native-signature-canvas.
same issue here as well!
from react-native-signature-canvas.
Show nothing on android. Really sad
from react-native-signature-canvas.
Related Issues (20)
- No ability to disable a signature pad HOT 5
- Webview Dependency conflict with Expo 47 HOT 2
- Invariant Violation: requireNativeComponent: "RNCWebView" was not found in the UIManager when build APK with expo sdk 46 HOT 2
- Signature pad not taking the full height and width HOT 4
- [Android] App crashes when scroll the page with several signatures HOT 3
- Upload signature canvas from base64 image with Form Data HOT 2
- can't make background transparent it still has a white background HOT 4
- Magnifying bubble on iOS HOT 2
- how can i change the color of the whole signature and not each stroke via penColor HOT 1
- dataURL background image disappears when keyboard opens
- react-native-webview dependency issue HOT 1
- When i erase the drawn text dataURL also clearing. HOT 11
- Error: Unable to resolve module react-native-signature-canvas HOT 1
- How to use Text as a Overlay HOT 1
- Not able to make vertical lines or full signature but horizontal lines are working fine HOT 2
- getting white screen when taking screenshot HOT 4
- Update Peer Dependency with Webview HOT 2
- I cannot see what i'm drawing on android HOT 4
- [Feature] Forward onLoadEnd property up HOT 5
- Only Dots were shown in when drawing signature on Android HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-signature-canvas.