GitXplorerGitXplorer
d

react-native-doorbell

public
2 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
62065ba07f413238ad6ccc722ef87b1af5b2ae79

update readme

ddavidgovea committed 6 years ago
Unverified
ee9cc8ef550e3fd78cfaef264df9110b750d620f

missing semicolons.. need linter :)

ddavidgovea committed 6 years ago
Unverified
da37e665007bddf754f6ec23d0d1f83af2319a90

typo in ios -- properties key

ddavidgovea committed 6 years ago
Unverified
01c2967b693c148137fa853373648f2acc42ba11

typos in android - use Objects.equals()

ddavidgovea committed 6 years ago
Unverified
3541efdae84f37a98c6fe969dcd7078ae310b294

bump version

ddavidgovea committed 6 years ago
Unverified
40811b3d4ea6a529f95bef111a9f77eef322b541

update readme

ddavidgovea committed 6 years ago

README

The README file for this repository.

react-native-doorbell


An unofficial React Native SDK wrapper for the Doorbell.io user feedback platform.

Getting started

$ npm install react-native-doorbell --save

Status

  • Works on iOS and Android
  • Name, email, and field hiding work (have not tested the 'powered by' removal)
  • Custom properties may not work on Android (development WIP)

Usage

import Doorbell from 'react-native-doorbell';

const doorbellDialog = new Doorbell(APP_ID, API_KEY);

doorbellDialog.show();

// or..

doorbellDialog.show({
  email: 'User email', // optional
  name: 'User name', // optional
  hideEmailField: true, // optional, default false
  hidePoweredBy: true, // optional, default false
  properties: {
    customProperty: 'value', // optional custom properties
  }
});

Mostly automatic installation

$ react-native link react-native-doorbell You must be using CocoaPods for linking to work properly, since the official Doorbell SDK is included as a pod. (manual installation is possible, but not documented yet)