
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@ankipro/react-native-canvas-view
Advanced tools
React Native library for drawing on iOS, leveraging the power of Apple PencilKit to provide a seamless and immersive canvas drawing experience. Ideal for applications that require precise and natural drawing capabilities.
Versatile Drawing Tools
: Choose from a variety of drawing tools, including brushes, pencils, erasers, and more.Customizable Brushes
: Customizable brush sizes, colors, and styles.Undo/Redo Functionality
Save
: Save your masterpieces in Base64 format.yarn add @ankipro/react-native-canvas-view
... and pods
npx pod-install
import CanvasView from "@ankipro/react-native-canvas-view";
// ...
<CanvasView ref={canvasRef} />
For more information see example.
Name | Type | Description |
---|---|---|
ref | CanvasViewRef | See methods below |
style | ViewStyle | Base RN View style |
onUndoRedoChange | (undoRedo: {canUndo: boolean; canRedo: boolean}) => void | Check ability undo/redo |
Name | Type | Description |
---|---|---|
.showToolbar() | () => void | Show Toolbar |
.hideToolbar() | () => void | Hide Toolbar |
.undo() | () => void | Reverse the last action |
.redo() | () => void | Reapply previously undone action |
.getDrawingBase64() | (onComplete: (base64: string) => void) => void | Get Base64 image |
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library
FAQs
React Native canvas drawing view for iOS
The npm package @ankipro/react-native-canvas-view receives a total of 239 weekly downloads. As such, @ankipro/react-native-canvas-view popularity was classified as not popular.
We found that @ankipro/react-native-canvas-view demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.