npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

cordova-plugin-fcm-with-dependecy-updated getAPNSToken() not available

I installed the latest (4.0.0) release of cordova-plugin-fcm-with-dependecy-updated which is supposed to have a getAPNSToken() method.
After installing the plugin I ran npm i to make sure it was available in the node_modules folder but according to Visual Studio Code, the property does not exist.
The project is in Ionic 4.
In the import part of the file I have:
import { FCM } from ‘@ionic-native/fcm/ngx’;
I suspect that is incorrect, but can not find anything else to import.
If you need any extra information, please let me know.

(You might get an answer here, but because this forum is focused on npm, you might want to ask your question somewhere that targets experts with your package. I have moved your topic to #community:javascript)