Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

AndroidManifest.xml resets on each run

$
0
0

The topic is for Capacitor 3, Ionic 6, Vue 3

Each time I start my app locally, the AndroidManifest.xml is reset quite aggressively. I.e. lots of the XML is removed, formatted, etc. Is there a way I can instruct capacitor to leave the manifest as-is?

I run the app this way: ionic capacitor run android -l --external

The AndroidManifest.xml change I have to redo each time is to allow android:usesCleartextTraffic so I can debug, like this:

    <application
        android:usesCleartextTraffic="true"

dependencies:

    "@capacitor/android": "3.3.3",
    "@capacitor/app": "1.0.7",
    "@capacitor/core": "3.3.3",
    "@ionic/vue": "^6.0.0",

devDependencies:

    "@capacitor/cli": "3.3.3",
    "@vue/cli-service": "~5.0.0-rc.1",

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>