This is a migrated thread and some comments may be shown as answers.

Questions regarding plugins in config.xml

1 Answer 56 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Idan
Top achievements
Rank 1
Idan asked on 19 Mar 2014, 04:47 PM
Hi,

1) Can you please tell me what is the <plugins> node with the plugin list means in the config.xml for Android. How it defers from the enable/disable switches for the plugins when I click properties in the Core plugins section.

2) Second question, if I use a custom plugin, do I need to put it in the config.xml?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Iva Koevska
Telerik team
answered on 20 Mar 2014, 11:15 AM
Hi Idan,

Thank you for your questions.

You can read more about the config.xml file, which is part of Apache Cordova, here.

In the context of AppBuilder, here is what you need to know.
  • At build time, AppBuilder pulls information from your manually modified config.xml, from config.xml-related project properties such as the enabled plugins, and from any custom plugin plugin.xml files properly nested in your Plugins folder.
  • This means that you do not need to manually modify config.xml to contain references to the core or the integrated plugins.
  • If the plugin.xml contains the proper <feature> declarations for the custom plugin in the proper <platform> element, you do not need to manually include them in your config.xml. You might want to check the plugin.xml reference here.
  • AppBuilder resolves plugin dependencies in a smart manner. This means that even if you have not enabled a core or integrated plugin, required by another plugin you are currently using (be it core, integrated, or custom), AppBuilder will automatically enable it and make the necessary references at build time.


Regards,
Iva Koevska
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET. Seats are limited.

 
Tags
General Discussion
Asked by
Idan
Top achievements
Rank 1
Answers by
Iva Koevska
Telerik team
Share this question
or