The mobile project configuration toolbox. Manage native iOS, Android, Ionic/Capacitor, React Native, and Flutter apps through a simple YAML format.
OTHER License
Bot releases are hidden (Show)
Published by mlynch almost 2 years ago
Added support for inserting variable assignments into gradle files #120.
The signature for the insertProperties
method on GradleFile
has been modified to add a third argument before the exact
argument. The new signature is
async insertProperties(pathObject: any, toInject: any[], type: AndroidGradleInjectType = AndroidGradleInjectType.Method, exact: boolean = false): Promise<void>
Published by mlynch almost 2 years ago
Added support for copying files from URLs for the ios and android copy
operations, and the android res
operation.
Published by mlynch almost 2 years ago
Fixed an issue for @trapezedev/configure
on iOS where null
would be set instead of an integer if setBuild
is passed a null value. #118
Published by mlynch about 2 years ago
Tweaked variable substitution to fix usage in strings with periods. #112
Published by mlynch about 2 years ago
In #90 support for JSON values for variables was added. This makes it possible to supply complex values as variables. These values then recursively resolve any variables they depend on, enabling support for using variables inside of other variables:
vars:
KEYCHAIN_GROUPS:
default:
[
'$BUNDLE_ID',
'com.blah',
]
platforms:
ios:
targets:
App:
entitlements:
- keychain-access-groups: $KEYCHAIN_GROUPS
There are two improvements that required breaking changes:
To resolve the merge issues in #87, when using merge
in XML, a matching root node must now be supplied.
Before:
android:
xml:
- file: app/src/main/res/values/strings.xml
target: resources
merge: |
<string name="app_name">$PRODUCT_NAME</string>
<string name="title_activity_main">$PRODUCT_NAME</string>
<string name="package_name">$ANDROID_PACKAGE_NAME</string>
<string name="custom_url_scheme">$ANDROID_PACKAGE_NAME</string>
In 5.0.0:
android:
xml:
- file: app/src/main/res/values/strings.xml
target: /resources
merge: |
<resources>
<string name="app_name">$PRODUCT_NAME</string>
<string name="title_activity_main">$PRODUCT_NAME</string>
<string name="package_name">$ANDROID_PACKAGE_NAME</string>
<string name="custom_url_scheme">$ANDROID_PACKAGE_NAME</string>
</resources>
This will then merge the two matching trees. This also resolves the merge issues in #87
An improvement was made to operations to have them apply to one open instance of a file, meaning multiple operations will now transform a single file multiple times. Previously, the file was loaded from disk for each operation which meant multiple operations would not stack. This fixed other issues specified in #87.
Thus, if your operations expected to run against a fresh copy of the file each time, this may break your configuration.
Published by mlynch over 2 years ago
Added exact
flag to Gradle operations to support targeting exact nodes per #69.
Published by mlynch over 2 years ago
Refactoring and added new --diff
feature to see changes to each file before committing.
@trapezedev/configure
The infoPlist
operation for ios
was removed. This was just an alias for plist
Use the plist
operation
@trapezedev/project
JsonFile.getData()
was renamed to getDocument()
to be more consistent with the other file wrappers.
VFS types have been made more concrete and data stored in the VFS must now be either a string
or extend VFSStorable
.
Published by mlynch over 2 years ago
Added new XML operations to iOS and updated docs"
Updated dependencies []:
Full Changelog: https://github.com/ionic-team/trapeze/compare/@capacitor/[email protected]...@trapezedev/[email protected]
Published by mlynch over 2 years ago
First release under Trapeze
Added support for generating Info.plist if not exists
Updated dependencies []:
Added support for generating Info.plist if not exists
Updated dependencies []:
Change binary name
Updated dependencies []:
Published by mlynch over 2 years ago
Full Changelog: https://github.com/ionic-team/capacitor-configure/compare/v1.0.28...@capacitor/[email protected]
Published by mlynch almost 3 years ago
Full Changelog: https://github.com/ionic-team/capacitor-configure/compare/v1.0.27...v1.0.28
Published by mlynch almost 3 years ago
Full Changelog: https://github.com/ionic-team/capacitor-configure/compare/v1.0.26...v1.0.27
Published by mlynch almost 3 years ago
Made two tweaks to plist merging in #33 and #32. This makes sure arrays of dicts are properly merged instead of duplicating entries when run multiple times.
infoPlist
operationAdditionally, the infoPlist
operation in the configure yaml script has been renamed to plist
and now places entries one level deeper. There is also a new replace
option that specifies whether configuration values should replace or merge with existing. Default is false
:
plist:
replace: true
entries:
- NSFaceIDUsageDescription: Use Face ID to authenticate yourself and login
- CFBundleURLTypes:
- CFBundleURLSchemes:
- msauth.$(PRODUCT_BUNDLE_IDENTIFIER)
- msauth.$(PRODUCT_BUNDLE_IDENTIFIER)-intunemam
- msauth.com.microsoft.intunemam