Simple overview of common uses for Trapeze.
This is a simple example of using Trapeze Config Tool to edit your native projects in a Capacitor-based project.
- Installing the Trapeze Config Tool
npm install @trapezedev/configure
Two scripts
were added that will update both the pacakage/bundle identifier and application names for both iOS and Android for dev and production environments
"trapeze:dev": "npx trapeze run trapeze.config.development.yaml -y",
"trapeze:prod": "npx trapeze run trapeze.config.production.yaml -y"
npm run trapeze:dev
: App will be named[DEV] My App
with an bundle id ofio.ionic.starter.dev
npm run trapeze:prod
: App will be namedMy App
with an bundle id ofio.ionic.starter
- Both can be installed on a device at the same time due to the unique bundle id
- You can integrate this as needed with your build process. For example, check out Capacitor CLI Hooks
- Trapeze Configuration Docs
- Trapeze Project API Docs - This wasn't used in this example, but it's another potential option