Skip to content

davr59/nativescript-doorbell.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nativescript-doorbell.io

Doorbell.io plugin for nativescript

Installation

tns plugin add nativescript-doorbell.io

Usage

import { showDoorbellFeedback } from 'nativescript-doorbell.io';
import { isIOS } from 'tns-core-modules/platform';

const viewController = isIOS ? this.feedbackContainer.nativeElement.ios.viewController : null;
showDoorbellFeedback(appId, appKey, viewController);

FeedbackContainer is a StackLayout in the html of the page where the function is called from. It does not need to have any particular alignment. It is only used by iOS.

appId and appKey can be obtained from Doorbell.io

About

Doorbell.io plugin for nativescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.7%
  • Ruby 1.3%