I'm trying to use the plugin https://github.com/fechanique/cordova-plugin-fcm but I'm having the following error:
Error: Plugin FCMPlugin can not be added. The plugin contains Gradle scripts.
With the plugin: https://www.npmjs.com/package/phonegap-plugin-push It worked perfectly, there decided to test the new tool by Google's recommendation to migrate from GCM to FCM
Thank you very much in advance.
The gradle script in https://www.npmjs.com/package/phonegap-plugin-push can be removed because that is a common operation that the build system takes care of (that is, removing that gradle script works because the build system already does what that gradle script does).
Unfortunately, the gradle script in https://github.com/fechanique/cordova-plugin-fcm is required to make that plugin work. Our build system cannot build with plugins that include gradle scripts, for security reasons. A future version of our build system will allow plugin gradle scripts, until that build system is available, you cannot use our build system with plugins that include gradle scripts.