Comments (1)
need support delete
option but is no implement yet, workaround is run before trapeze sh script
rm android/app/src/main/res/xml/network_security_config.xml && trapeze run
or better create script file and move logic too.
or remove file, add to .gitignore
:
frontend/android/app/src/main/res/xml/network_security_config.xml
and then generate before running dev:
# create network security config
NETWORK_SECURITY_CONFIG_PATH="android/app/src/main/res/xml/network_security_config.xml"
if [ ! -f "$NETWORK_SECURITY_CONFIG_PATH" ]; then
echo "<network-security-config>
<base-config cleartextTrafficPermitted="false">
<trust-anchors>
<certificates src="@raw/ca"/>
<certificates src="system"/>
</trust-anchors>
</base-config>
<debug-overrides>
<trust-anchors cleartextTrafficPermitted="false">
<certificates src="@raw/ca"/>
<certificates src="system"/>
</trust-anchors>
</debug-overrides>
</network-security-config>" > "$NETWORK_SECURITY_CONFIG_PATH"
fi
from trapeze.
Related Issues (20)
- Error: Unable to load or parse gradle file: Error (on Windows, but on Mac is okay) HOT 9
- Plist & Entitlements have different replace syntax in YAML file HOT 1
- Specify the Xcode signing team using `config.yaml`? HOT 1
- Error with API Usage HOT 1
- Add a file to XCode Project (e.g., GoogleService-Info.plist)?
- License? HOT 1
- Update gradle.properties HOT 5
- Documentation: Add info about the -y cmd line option HOT 3
- [project] Unused npm-watch dependency HOT 3
- Feat: hide the logs HOT 5
- Best practice for merging in root of Android manifest? HOT 1
- how to use base64 decode? HOT 1
- Feature request - Error when trying to set unusable version code HOT 1
- gradle variable not updating properly
- How to specify provisioning profile in .yaml config file
- Issues when adding entries to build.gradle
- Feature request: Enable android `productFlavors`
- Unable to run for web platform on Appflow
- Android: unable to inject multiple <intent-filters>
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trapeze.