white_label_kit 0.0.7
white_label_kit: ^0.0.7 copied to clipboard
A complete multi-tenant white-label and flavor management toolkit for Flutter apps. Automatically configures Android Gradle and iOS Xcode schemes from a single YAML file.
0.0.7 #
- Fixed
update-tenantcrashing with aRangeErrorwhen--name,--android-id,--ios-id,--api-urlor--logohad no value. update-tenantnow refuses to run, changing nothing, when the tenant has settings it would silently drop (theme, features, icon, splash, firebase, ...).- Added opt-in per-tenant Android adaptive icon foreground, background image
or color, and monochrome configuration (
android.adaptive_icon). - Tenants without
android.adaptive_iconcontinue to generate regular launcher icons without unintended adaptive masking.
0.0.6 #
- New: Full Monorepo & Melos workspace support via
--project-root,--config, and--ide-rootCLI flags acrossconfigure,generate,build,run,doctor,validate,list,add-tenant, andremove-tenant. - Supports nested Flutter apps (e.g.
apps/<flutter-app>) while placing IDE run configurations (.vscode/launch.json,.run/*.xml) at the monorepo root or custom workspace root.
0.0.5 #
- Fixed: generated
.run/*.xml(Android Studio/IntelliJ run configs) had invalid XML and never showed up in the Run menu — a stray.substring(1)was stripping the leading<. See README for details. - iOS splash storyboards are now auto-registered into Xcode's Resources
build phase (previously a manual
rubystep). build --mode releasenow always adds--obfuscate --split-debug-info=...(see Flutter's obfuscation guide).- Auto-generated
icons_launcher-<id>.yamlnow includes an adaptive icon (Android 8+) by default. - New: named per-tenant
environments:+--env(staging/production/etc.) forgenerate/configure/build/run, with an arbitrarycustom:key-value map per environment. - Fixed:
configure/build/runcould regeneratelib/white_label.g.dartfor the wrong tenant, or not at all, in some flows — now always for the tenant/--envactually resolved. - Fixed:
build.yaml'sauto_apply: dependentscould silently delete a consumer's ownlib/white_label.g.dartviabuild_runner— nowauto_apply: none(opt-in). doctornow flags a missingflutter_native_splashdependency ahead of time whensplash_generateis on.- Removed
auto-onboard/autoOnboardTenant— untested, non-functional for any real consumer. Useadd-tenant+configureinstead. - Added
metaas a direct dependency (for@visibleForTesting).
See README for full usage of anything above.
0.0.4 #
generateIosConfignow also setsAPP_DISPLAY_NAME(previously onlyPRODUCT_BUNDLE_IDENTIFIER) — fixes a tenant build's home-screen name falling back to "Runner".- Fixed
removeIosConfigleaving orphanedXCBuildConfigurationobjects after removing a tenant. - New, opt-in (
features: { icon_generate: true }/{ splash_generate: true }):configure/buildauto-generate a tenant's launcher icon and native splash config, only if the file doesn't already exist. See README for theflutter_native_splashdependency note.
0.0.3 #
- Initial release into the
flutter-packagesmonorepo.