FCM plugin not working

Hey everyone,
I tried to implement push notification on my F7-CLI project based on FCM-Ng cordova plugin.
After a FCM-ng cordova installation and project build, when I called FCMPluginNG on my device, the app crashs and when I use window.FCMPluginNG it marks undefined.
I’m using Sixth version of F7.

Need Help
Many thanks