Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

react-native-bg-thread

1.1.7 • Public • Published

react-native-bg-thread

Getting started

$ npm install --save react-native-bg-thread

Linking

iOS

1. 	Add pod 'react-native-bg-thread', :path => '../node_modules/react-native-bg-thread/react-native-bg-thread.podspec' to your pod file under targets
	Run following commands
2. 	cd ios
3. 	pod install

Android

No further action needed

Usage

import RnBgTask from 'react-native-bg-thread';
 
    componentDidMount(){
        RnBgTask.runInBackground(()=>{
            // your js code here
        })
    }
 

Install

npm i react-native-bg-thread

DownloadsWeekly Downloads

50

Version

1.1.7

License

none

Unpacked Size

76.6 kB

Total Files

20

Last publish

Collaborators

  • avatar