eaze-orders-background-timer

## Getting started

Usage no npm install needed!

<script type="module">
  import eazeOrdersBackgroundTimer from 'https://cdn.skypack.dev/eaze-orders-background-timer';
</script>

README

eaze-orders-background-timer

Getting started

$ npm install eaze-orders-background-timer --save

Mostly automatic installation

$ react-native link eaze-orders-background-timer

Manual installation

iOS

  1. In XCode, in the project navigator, right click Libraries ➜ Add Files to [your project's name]
  2. Go to node_modules ➜ eaze-orders-background-timer and add RNOrdersBackgroundTimer.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNOrdersBackgroundTimer.a to your project's Build Phases ➜ Link Binary With Libraries
  4. Run your project (Cmd+R)<

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNOrdersBackgroundTimerPackage; to the imports at the top of the file
  • Add new RNOrdersBackgroundTimerPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':eaze-orders-background-timer'
    project(':eaze-orders-background-timer').projectDir = new File(rootProject.projectDir, 	'../node_modules/eaze-orders-background-timer/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':eaze-orders-background-timer')
    

Usage

import RNOrdersBackgroundTimer from 'eaze-orders-background-timer';

// TODO: What do with the module?
RNOrdersBackgroundTimer;