Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Two plugins not building together

Paul_C_
Beginner
587 Views

I've been working on and testing an app which I'm creating. I want to use cordova-plugin-googlemaps and phonegap-plugin-push.

The trouble the two plugins don't appear to build together. The build fails once I install the push plugin on CLI 6.2.0. There appears to be a bug fix in push plugin 1.4.4 which requires Gradle.

When I downgrade the CLI to 5.4.1 the app builds but Google Maps doesn't work.

Is there something which I'm missing? Is there enough info above to start looking at a workaround or fix?

Thanks

Paul

 

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
587 Views

It's hard to say precisely what is wrong. One thing to be aware of is that our build system will not work with plugins that include gradle scripts. There are two exceptions to that rule, the Crosswalk plugins and some plugins that include a gradle script that implements the scheme defined in this FAQ and the one that immediately follows it > https://software.intel.com/en-us/xdk/faqs/cordova#gradle-build-error < If the gradle does more than what is described in the FAQ, removing it from the plugin will result in a failure of the plugin. This cannot be overcome with our cloud-based build system, it means you'll have to use Cordova CLI directly. If you need to convert your app to use Cordova CLI, please see this basic outline of steps > https://software.intel.com/en-us/forums/intel-xdk/topic/685326#comment-1885369 <

0 Kudos
Paul_C_
Beginner
587 Views

Thanks Paul F

I have this working perfectly on Cordova CLI with the more recent versions of the plugins. I hope XDK supports Gradle in the future. 

0 Kudos
Reply