by Code Particle | v0.0.6 plugin for nativescript
npm i --save plugin for nativescript


tns plugin add


import { showDoorbellFeedback } from '';
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