1.0.3 • Published 6 years ago

react-native-whatsapp-contacts v1.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

react-native-whatsapp-contacts

Getting started

$ npm install react-native-whatsapp-contacts --save

Mostly automatic installation

$ react-native link react-native-whatsapp-contacts

Manual installation

Android

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

Usage

import RNReactNativeWhatsappContacts from 'react-native-whatsapp-contacts';

// TODO: What to do with the module?
RNReactNativeWhatsappContacts;
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago