Comments (5)
Sorry I'm not following, can you clarify what this issue is describing? Thanks
from trapeze.
I want to automatically modify the apikey of the plug-in project after adding the capacitor plug-in, but now after executing trapeze, the xml of the main project is modified
from trapeze.
Why would you want to modify the plugin project? The only setting that matters is the setting in your main app project. I suppose you could just configure the directory of the android project if you want to be specific though. https://trapeze.dev/docs/Operations/getting-started#usage
from trapeze.
Why would you want to modify the plugin project? The only setting that matters is the setting in your main app project. I suppose you could just configure the directory of the android project if you want to be specific though. https://trapeze.dev/docs/Operations/getting-started#usage
My need is to achieve the same effect as the cordova plugin
cordova plugin add cordova-example-plugin --variable APP_KEY=your_appkey
There will be no actual APP_KEY in the developed third-party plug-in code. When using, the package name of each package is different, and the APP_KEY inside will also be different. APP_KEY needs to be updated when adding plugins
from trapeze.
Yes, the way this is done is how I described it: plugins that require variables ultimately require you adding config values to your app's configuration files which then apply to the rest of the app. The way Trapeze does this is correct, this is working as expected. You wouldn't modify the actual plugin project which is probably in a node_modules
folder and going to be recreated every time the plugin is installed.
from trapeze.
Related Issues (20)
- XML file namespace HOT 3
- Bug: appName has no effect (android, capacitor V5) HOT 23
- 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
- How to delete a resource file for Android? 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`
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.