You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does Trapeze have a built-in way to delete resource files from an Android project? I only see a way to add files.
Some background
We're in the process of migrating from Cordova to Capacitor, and are using Trapeze to allow us to tweak the native projects for different environments. When building a local development version of our Android against a developer's local backend services, we add a network_security_config.xml and custom CA so that our non-prod SSL certs are accepted by Android. This is working fine. The problem is, when we want to run Trapeze to reconfigure things to point to prod/qa (anything non-local) we need to remove the network_security_config.xml and custom CA file.
So, in our local development Trapeze configuration we have this to add the required files:
But how do we delete the two files from under android/app/src/main/res using Trapeze? It would be nice to have Trapeze handle this, but I suppose it would be easy enough to just run rm android/app/src/main/res/... as a separate step.
The text was updated successfully, but these errors were encountered:
Does Trapeze have a built-in way to delete resource files from an Android project? I only see a way to add files.
Some background
We're in the process of migrating from Cordova to Capacitor, and are using Trapeze to allow us to tweak the native projects for different environments. When building a local development version of our Android against a developer's local backend services, we add a network_security_config.xml and custom CA so that our non-prod SSL certs are accepted by Android. This is working fine. The problem is, when we want to run Trapeze to reconfigure things to point to prod/qa (anything non-local) we need to remove the network_security_config.xml and custom CA file.
So, in our local development Trapeze configuration we have this to add the required files:
In our prod Trapeze config we are able to delete the AndroidManifest.xml changes with:
But how do we delete the two files from under
android/app/src/main/res
using Trapeze? It would be nice to have Trapeze handle this, but I suppose it would be easy enough to just runrm android/app/src/main/res/...
as a separate step.The text was updated successfully, but these errors were encountered: