terrylinla / react-native-sketch-canvas

A React Native component for drawing by touching on both iOS and Android.
MIT License
695 stars 453 forks source link

Not able to add text in ios #189

Open Reshma-K-U opened 3 years ago

Reshma-K-U commented 3 years ago

I tried to add few texts to an image in ios The text object is like this { text: 'Test', fontSize: 15, coordinate: 'Ratio', position: { x: 0.5, y: 0.5 }, alignment: 'Left' } canvas.current.save('jpg', true, 'Canvas', 'test', true, true, true) IncludeText boolean variable is set to true in 'save' method. But when I checked the image returned in 'OnSketchsaved' event it does not contain any text. It works in android Any help would be much appreciated

react06 commented 1 year ago

@Reshma-K-U How did you add text on the Canvas in Android?