Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@chartiq/react-native-chartiq
Advanced tools
React Native SDK for the ChartIQ JavaScript library.
The ChartIQ React Native SDK supports a basic charting application. This SDK can be extended to support more elaborate implementations by adding code to invoke ChartIQ library functions directly or by creating a bridge file similar to nativeSdkBridge.js (in the mobile/js folder of your ChartIQ library).
Contact us at support@chartiq.com to request sample code and guidance on how to extend the SDK.
A copy of the ChartIQ JavaScript library (works best with version 9.1.2).
React Native 0.71.7
Android 8.1 Oreo (API level 27) or later
iOS 10.3 or later
The example folder of this repository contains both Android and iOS app that was built using the SDK. Customize the apps to quickly create your own React Native charting application.
App screen shots
While it's possible to use
npm
, the tooling is built aroundyarn
, so you'll have an easier time if you useyarn
for development.
yarn add @chartiq/react-native-chartiq
or
npm i @chartiq/react-native-chartiq
Go to the ios folder and run pod install
cd ios
pod install
To get started with the project, run yarn
in the root directory to install the required dependencies for each package:
yarn
While developing you can run the example app to test your changes. Any changes you make in your library's JavaScript code will be reflected in the example app without a rebuild. If you change any native code, then you'll need to rebuild the example app.
Import the library and provide a remote url to the ChartIQ library and set the dataMethod to either "pull" or "push" depending on how you want to provide data to the chart.
import { ChartIqWrapperView } from 'react-native-chartiq';
// ...
<ChartIQView
url={WEB_VIEW_SOURCE} // url to ChartIQ JS library
dataMethod="pull"
onStart={() => {
// do something when chart is ready e.g. set symbol, theme etc.
}}
style={styles.chartIq}
/>;
To start the packager:
yarn example start
To run the example app on Android:
yarn example android
To run the example app on iOS:
yarn example ios
The React Native sdk utilizes the existing mobile sdk that we have to offer.
Contact our development support team at support@chartiq.com.
See the contributing guide to learn how to contribute to the repository and the development workflow.
Apache2
Made with create-react-native-library
FAQs
ChartIQ React Native Library
We found that @chartiq/react-native-chartiq demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.