Cordova: How to set Platform-specific config.xml file which is not overwritten after cordova build?

后端 未结 4 774
说谎
说谎 2021-02-08 14:30

I use Cordova with two platforms ios and android. When I change something in my

Project/config.xml 

it will be merged into

Pro         


        
4条回答
  •  死守一世寂寞
    2021-02-08 15:09

    Is it not more simple to add the platform folder into your repository, edit the files within the platform folder? In you regular build you only call cordova compile instead of cordova build, in order to prevent from overriding your platform files.

提交回复
热议问题