white_label_kit 0.0.5
white_label_kit: ^0.0.5 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.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.