Issues with community plugins not being accessible

I have an Angular Ionic application using Capacitor. I am trying to include the following plugin for voice recording:

I followed the steps to npm install --save capacitor-voice-recorder, have the following in my code:

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

import { Plugins } from "@capacitor/core";
    selector: 'app-my-page',
    templateUrl: './',
    styleUrls: ['./'],
export class MyPage implements OnInit {

    constructor() { }

    ngOnInit() { }

    async showData() {
        const { VoiceRecorder } = Plugins;

I already had android added for the project, but to be sure, I removed the android folder and ran:

npx cap add android
npx cap copy android
npx cap sync
npx cap open android

I could see that the voice recorder plugin was included in the project in Android Studio, however, when showData() method is called, VoiceRecorder is undefined and Plugins does not have the VoiceRecorder on it (I am running the Chrome remote device debugger to see console output).

I normally use the command: ionic capacitor run android -l --external to have live reload, if that makes any difference.

I’m new to mobile development, so I may be missing something obvious. Does anyone know why the voice recorder plugin is not accessible on the Plugins object?