Skip to main content

launcher_name_plus 1.0.3 copy "launcher_name_plus: ^1.0.3" to clipboard
launcher_name_plus: ^1.0.3 copied to clipboard

Localize your Flutter app's launcher name on Android and iOS from pubspec.yaml. A maintained, drop-in successor of launcher_name that escapes special characters.

example/README.md

Example #

Add the package and a launcher_name section to your app's pubspec.yaml:

dev_dependencies:
  launcher_name_plus: ^1.0.3

launcher_name:
  default: "My App"
  ko: "내 앱"
  ja: "マイアプリ"
  fr: "L'application"

Then run it from the app root:

dart run launcher_name_plus:main

It writes:

  • android/app/src/main/res/values/strings.xml and values-<lang>/strings.xml, and points android:label in AndroidManifest.xml to @string/appName.
  • ios/Runner/Resources/InfoPlist.strings and <lang>.lproj/InfoPlist.strings, and sets CFBundleDisplayName in Info.plist to ${PRODUCT_NAME}.

The French name above contains ', which launcher_name 1.0.2 wrote unescaped and broke the Android build. This package writes it as L\'application.

0
likes
160
points
--
downloads

Documentation

API reference

Publisher

verified publisherbadalabs.com

Localize your Flutter app's launcher name on Android and iOS from pubspec.yaml. A maintained, drop-in successor of launcher_name that escapes special characters.

Repository (GitHub)
View/report issues

Topics

#launcher #app-name #localization #cli

License

BSD-2-Clause (license)

Dependencies

yaml

More

Packages that depend on launcher_name_plus