![]() ![]() ![]() Hopefully it's not going away in one of the future versions. Success! Of course, it was much easier to do than any of the alternatives I was considering. I added the following inside element of my config.xml file: Īfter I built the project, the following line was added inside the application element of my AndroidManifest.xml file: ![]() Although I couldn't find it mentioned anywhere in the docs, I decided to try it anyway. Create a custom plugin with the only purpose of adding the required entry to the manifest file.ĭuring research, I stumbled across a remark that Cordova was now supposed to support config-file and edit-config in config.xml as well.Add the functionality to the plugin and submit it as a pull request, hoping that it will be accepted.This can be easily achieved by adding a meta-data entry to AndroidManifest.xml, but since the plugin does not provide this functionality, I had the following options at my disposal: I wanted to disable Firebase crash reporting, as I was already using Google Analytics for the same purpose. In my case it was Firebase configuration setting, which I wanted to modify, but couldn't do it through the plugin. However, sometimes a plugin might not expose a setting for the native functionality, which you want to modify. ![]() It contains only native specific settings, which typically originate from Cordova plugins. Most of the time, modifying the AndroidManifest.xml from a plugin will be all that you need. It's less obvious that these same configuration elements can also be used directly inside the application's config.xml file. To support application development within the Android operating system. It is based on the IntelliJ IDEA, a Java integrated development environment for software, and incorporates its code editing and developer tools. Cordova has well documented support for modifying the contents of AndroidManifest.xml file from a plugin by adding config-file and edit-config elements to its plugin.xml file. Android Studio is the official integrated development environment ( IDE) for Android application development. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |