sendEvent function is not getting called in angular nativescript application


#1

Trying to capture UIEvents in ios nativescript app
SigninComponent is not the bootstrap module
tried adding the sendEvent() in app.ts but no help
source code is provided below:

export class SigninComponent implements UIApplication {
  sendEvent(event: _UIEvent): void {
    console.log('in send Event');
    throw new Error("Method not implemented.");
  }

Please suggest