UNPKG

@huddle01/react-native-background-actions

Version:

React Native background service library for running background tasks forever in Android & iOS

8 lines (4 loc) 247 B
import { NativeEventEmitter, NativeModules } from 'react-native'; const { RNBackgroundActions } = NativeModules; const nativeEventEmitter = new NativeEventEmitter(RNBackgroundActions); export { RNBackgroundActions, nativeEventEmitter };