react-native-doorbell
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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)

Readme

Keywords

Package Sidebar

Install

npm i react-native-doorbell

Weekly Downloads

1

Version

0.0.2

License

WTFPL

Unpacked Size

937 kB

Total Files

120

Last publish

Collaborators

  • davidgovea