How to edit AndroidManifest.xml in PhoneGap 3

后端 未结 4 2004
臣服心动
臣服心动 2020-12-15 18:36

It seems PhoneGap generates that file automatically when config.xml is modified.

I wish to add Ad network\'s activities, services, etc in AndroidM

4条回答
  •  失恋的感觉
    2020-12-15 19:06

    Nowadays in Cordova, we can use and in our config.xml to make simple custom changes to AndroidManifest.xml.

    Examples copied from the docs:

    
        
            
            
        
    
    
    
        
    
    
    
        
    
    

    Note: to use the android: namespace in your config.xml, you need to add xmlns:android="http://schemas.android.com/apk/res/android" to the root element.

提交回复
热议问题