Code Monkey home page Code Monkey logo

Comments (24)

 avatar commented on July 4, 2024 4

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.

kumw1975 avatar kumw1975 commented on July 4, 2024 2

not rendering at all on android

from react-native-signature-canvas.

 avatar commented on July 4, 2024 1

@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.

YanYuanFE avatar YanYuanFE commented on July 4, 2024 1

@henryrossiterhttps: //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.

RamonEspinosa avatar RamonEspinosa commented on July 4, 2024 1

@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.

YanYuanFE avatar YanYuanFE commented on July 4, 2024

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.

YanYuanFE avatar YanYuanFE commented on July 4, 2024

@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.

henryrossiter avatar henryrossiter commented on July 4, 2024

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.

henryrossiter avatar henryrossiter commented on July 4, 2024

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.

YanYuanFE avatar YanYuanFE commented on July 4, 2024

@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.

ehernandezlabelgrup avatar ehernandezlabelgrup commented on July 4, 2024

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.

lyrpromax avatar lyrpromax commented on July 4, 2024

@henryrossiterhttps: //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.

RamonEspinosa avatar RamonEspinosa commented on July 4, 2024

@henryrossiterhttps: //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 avatar andre-v2 commented on July 4, 2024

@henryrossiterhttps: //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.

YanYuanFE avatar YanYuanFE commented on July 4, 2024

@andre-v2 @RamonEspinosa #76,
sdkVersion issue

from react-native-signature-canvas.

benchris921 avatar benchris921 commented on July 4, 2024

Exactly experienced same issue in Android. Drawing nothing.

from react-native-signature-canvas.

asmakhalfallah2018 avatar asmakhalfallah2018 commented on July 4, 2024

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.

Brinda221patel avatar Brinda221patel commented on July 4, 2024

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.

kumw1975 avatar kumw1975 commented on July 4, 2024

@Brinda221patel build the html and js in webview

from react-native-signature-canvas.

Brinda221patel avatar Brinda221patel commented on July 4, 2024

@Brinda221patel build the html and js in webview

  1. 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.

kumw1975 avatar kumw1975 commented on July 4, 2024

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.

abhishek8961195004 avatar abhishek8961195004 commented on July 4, 2024

@Brinda221patel build the html and js in webview

  1. 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.

react06 avatar react06 commented on July 4, 2024

same issue here as well!

from react-native-signature-canvas.

crmapache avatar crmapache commented on July 4, 2024

Show nothing on android. Really sad

from react-native-signature-canvas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.