New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ryky-x

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

ryky-x

A drawing library for React Native using Expo. This library provides an easy-to-use drawing canvas with customizable features.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

react-native-drawing

A drawing library for React Native using Expo. This library provides an easy-to-use drawing canvas with customizable features.

⚠️ Warning: react-native-drawing is sill in development, that's why some details are unavailable right now:

  • Installation
  • API reference

Installation

To install the library, you must be in the root of your working project

npx expo install react-native-webview
npx expo install react-native-drawing

API Reference

For detailed API documentation, visit API Reference.

Local Testing

To test the project locally, follow these steps:

  • Navigate to the root of an expo project

  • Clone the library and install dependencies

npx expo install react-native-webview
git clone https://github.com/rykycastilla/react-native-drawing.git
cd react-native-drawing
npm install
  • Set the public ip of your development device in ./.env.json. This allows access through app container to the drawing web core server (necessary for development). By default it is localhost.
{
  ...
  "WEB_CORE_DEV_IP": <your-public-ip>
}
  • Start the drawing web core server
npm run dev
  • Now, you can start Expo dev server in another shell to test the library in development

  • To test production mode, you must run npm run build to compile. This allow you to use the library without the drawing core server as a production preview

⚠️ Warning: When you are using development mode, refer to the library with

import {} from '<react-native-drawing-path>/lib/src'

And when you are using production preview use

import {} from '<react-native-drawing-path>'

Remember this, Development mode has debugging capabilites enabled, such as javascript inspection with Browser DevTools and changes are applied without recompiling the entire project every time

This library has been tested with Expo SDK 51 and 52.

FAQs

Package last updated on 01 Feb 2025

Did you know?

Socket

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.

Install

Related posts