dpa99c / cordova-custom-config

Cordova/Phonegap plugin to update platform configuration files based on preferences and config-file data defined in config.xml
318 stars 84 forks source link

where my custom MainActivity can be located #142

Closed lizhen0211 closed 6 years ago

lizhen0211 commented 6 years ago

where my custom MainActivity can be located For example, PhotoGpsActivity is in AndroidManifest.xml,but where can I impliment it

dpa99c commented 6 years ago

This plugin's sole purpose is to enable you to define custom configuration. For example, if you include a plugin which contains an SDK that requires a custom <activity> definition in the manifest, you can use this plugin to do so.

However, if you are wanting to implement custom code, as well as configuration, for example to both define and implement an activity called PhotoGpsActivity, then you'd need to create your own Cordova plugin and in which case you'd include your activity manifest entry in a <config-file> block within the plugin.xml.

lizhen0211 commented 6 years ago

Thanks your help