Jedures opened a new issue #1280:
URL: https://github.com/apache/cordova-android/issues/1280


   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   When I use <edit-config> I noticed, that nothing add to the AndroidManifest 
(except edit-config, it works) when I do cordova prepare android or cordova 
build android. I'm writing my own cordova plugin.
   
   ## Information
   
   My example: 
   
           <config-file parent="/*" target="AndroidManifest.xml">
               <uses-permission android:name="android.permission.INTERNET" />
               <uses-permission 
android:name="android.permission.ACCESS_NETWORK_STATE" />
               <uses-permission 
android:name="android.permission.ACCESS_WIFI_STATE"
               />
           </config-file>
           
           <config-file target="AndroidManifest.xml" 
parent="/manifest/application">
               <meta-data 
android:name="com.google.android.gms.ads.APPLICATION_ID"
                           android:value="$ADMOB_ANDROID_APP_ID"/>
           </config-file>
           
           <resource-file src="network_security_config.xml" 
target="res/xml/network_security_config.xml" />
           <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" 
target="/manifest/application">
               <application 
android:networkSecurityConfig="@xml/network_security_config" />
           </edit-config>
   
   
   ### Version information
   Cordova plugins, Cordova 10.0
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to