react-native-pusher-beams

0.0.2 • Public • Published

DO NOT USE THIS PACKAGE

react-native-pusher-beams

Getting started

$ npm install react-native-pusher-beams --save

Mostly automatic installation

$ react-native link react-native-pusher-beams

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-pusher-beams and add RNPusherBeams.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNPusherBeams.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Android

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

Usage

import RNPusherBeams from 'react-native-pusher-beams';

// TODO: What to do with the module?
RNPusherBeams;

Readme

Keywords

Package Sidebar

Install

npm i react-native-pusher-beams

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

469 kB

Total Files

106

Last publish

Collaborators

  • stephenkiers