can we modify cordova plugins(cordova-plugin-fcm) and use in our project?

128 Views Asked by At

I am stuck in my project for sending image with push notification. Thats why I am trying to change cordova plugin i.e. cordova-plugin-fcm for sending push notification.

1

There are 1 best solutions below

0
juzraai On

Yes. You can clone/download that plugin, modify it; then you can add it to your project from a local directory, by using this command:

cordova plugin add "path/to/your/plugin"

You can also add --noregistry option, to skip searching for the plugin in repositories. (Documentation of plugin command)

Or if you are using Ionic, you may want to check this topic.