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

react-native-library-rn

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-library-rn

test

latest
Source
npmnpm
Version
0.5.1
Version published
Maintainers
1
Created
Source

react-native-library-rn

My First React Native Library that is published on npm

Installation

npm install react-native-library-rn

Usage

import { multiply } from 'react-native-library-rn';

// ...

const result = await multiply(3, 7);

User Register

import {userRegister} from 'react-native-library-rn';

// ...

var jsonData = '{ "name":"Karthik", "age":"22", "email": "k@k.com" "token":"YOUR_FCM_TOKEN" }';
var obj = JSON.parse(jsonData);
userRegister(obj);

Update Push Token


import {updatePushToken} from 'react-native-library-rn';

// ...

updatePushToken("YOUR_FCM_TOKEN");

Screen Tracking

Event Tracking

Read Notification

Unread Notification

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Made with create-react-native-library

Keywords

react-native

FAQs

Package last updated on 02 May 2023

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