Add the Metamap button to your application's HTML and JavaScript files.

   <ion-button className="matiButtonCss" (click)="showMatiFlow()">Show MatiFlow

MetaMap method implementation and callBacks

import { Component } from '@angular/core';

import { MetaMapCapacitor } from "metamap-capacitor-plugin";

  selector: 'app-home',
  templateUrl: '',
  styleUrls: [''],
export class HomePage {
  constructor() {}

  showMatiFlow() {
    MetaMapCapacitor.showMetaMapFlow({ clientId: "YOUR_CLIENT_ID",
				flowId: "YOUR_FLOW_ID", metadata: {:}})
      .then( verification => console.log("verification success:" + verification.verificationId))
      .catch(() => console.log("verification cancelled"))

In order to make this work you need to set your own CLIENT_ID and FLOW_ID. You can find them in the Metamap Dashboard, for more details please check this section.