1 Reply Latest reply on Sep 26, 2016 7:56 AM by kerrishotts

    Adding a custom application case in the AndroidManifest.xml

    olegm

      We currently have a cordova plugin that supports iOS and Android. The current design of the plugin (Android) requires that the software should be init in a class that inherits from Application, and then declare this class in the AndroidManifest.xml as follows:

       

      <application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:name="NAME_OF_OUR_CLASS" android:supportsRtl="true">

       

      Currently it is done by a script that is executed at install time using string replacements. This works pretty good, however we are now facing an issue as some of our users are using Adobe PhoneGap Build.

       

      When the project is uploaded to this platform, it will re build the app, deleting this configuration so the plugin does not work, and actually makes the app to crash. Is there a way to modify this tag from the plugin configuration file?