GitXplorerGitXplorer
d

react-native-doorbell

public
2 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
7d30420499a80efb4286207b2851db786bee04ea

take a stab at the ios side

ddavidgovea committed 6 years ago
Unverified
c607ffc692ca12f99276055d04c3d0e4a6b9da69

implement api on android

ddavidgovea committed 6 years ago
Unverified
2e523e6bb91b1c6979c35d35ea475a1883cc4ac0

add options argument to show, and add types

ddavidgovea committed 6 years ago
Unverified
ddb130a66bc1850252585720872967894141ba8e

provide rootViewController to doorbell

ddavidgovea committed 6 years ago
Unverified
f8b07ffd5072312cbb4dc131dce660a06571902c

typo in ios method

ddavidgovea committed 6 years ago
Unverified
ac78780d2484257b36b83618f9fdb0990f731f8f

Add license - update package.json

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)