grunt-cordova-sectv icon indicating copy to clipboard operation
grunt-cordova-sectv copied to clipboard

How to set specify(other) elements in config.xml ??

Open pwsses opened this issue 9 years ago • 1 comments

Dear Toast Developer.

I will want to declare necessary elements to a particular platform in config.xml file.

I tried it in myCordovaProject/platforms/MyPlatform/www/config.xml.

but it is overwritten when I run "grunt sectv-prepare:MyPlatform".

Do you have any solutions?

BR.

pwsses avatar Mar 24 '16 09:03 pwsses

I will recommend to using platform element in your cordova project config.xml file that is global configuration file. url : https://cordova.apache.org/docs/en/latest/config_ref/index.html

example code

<platform name="sectv-tizen">
     <!-- Write your necessary element -->
     <tizen:metadata key="http://samsung.com/tv/metadata/prelaunch.support" value="true" />
</platform>
<platform name="sectv-orsay">
    <!-- Write your necessary element -->
    <prelaunch>y</prelaunch>
</platform>

pwsses avatar Mar 25 '16 07:03 pwsses