패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.6.6

rename_app

모든 플랫폼에서 앱 이름을 변경하는 Flutter 패키지이며 사운드 null 안전성도 제공합니다!

AndroidiOSmacOSWindowsLinux
30일 다운로드
2.2만
좋아요
361
Pub 점수
140

패키지 설치

flutter pub add rename_app

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Android, iOS, macOS, Windows, Linux 등 모든 플랫폼에서 앱 이름을 변경하는 것을 간소화하는 플러터 패키지로, 사운드 null 안전성에 완전히 대응합니다. 플랫폼별 구성 파일 업데이트 프로세스를 자동화하여 일관성을 보장하고 수동 오류를 줄입니다. 복잡한 네이티브 프로젝트 구조를 탐색하지 않고도 앱의 표시 이름을 빠르게 재브랜딩하거나 사용자 지정해야 하는 개발자에게 이상적입니다.

사용 사례

  • 기존 앱의 브랜드 재정립
  • 빌드 변종별로 앱 이름 맞춤 설정
  • 다중 플랫폼 앱 이름 지정 간소화
  • CI/CD 파이프라인에서 앱 이름 업데이트 자동화
  • 네이티브 파일을 편집하지 않고 앱 이름 업데이트

주요 기능

  • 크로스 플랫폼 호환성
  • 사운드 null 안전성 지원
  • 자동 구성 업데이트
  • 간단한 CLI 통합
  • 기존 앱 구조 유지

적합한 대상

  • 여러 앱 변형을 관리하는 플러터 개발자
  • 일관된 앱 이름 지정이 필요한 팀
  • 자주 브랜딩이 변경되는 프로젝트
  • 자동 빌드 워크플로를 사용하는 개발자

고려 사항

  • 업데이트 후 수동 검증이 필요합니다
  • 사용자 지정 빌드 구성과 충돌할 수 있습니다
  • 높은 수준의 사용자 정의 네이티브 설정을 가진 앱에는 적합하지 않습니다
  • 앱 이름 변경만 가능
  • 아이콘 이름 바꾸기 처리 안 함

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Stand With Palestine

Rename App

The only flutter package which changes app name for all platforms with sound null safety!

If you want to autmatically change your flutter app name with a single command then you are at the right pacakge. This package gives you too many flexibilities through too many variants of its commands. Read the details below to know in more details

  • ✊ Dont forget to star the github repo if you found this package useful 😇

Developer : Syed Waleed Shah ( LinkedIn Github StackOverflow )

Please Contribute : Github Repository

Honourable Contributors:

  1. Finn Drünert ( Github )
  2. nhan7777 ( Github )
  3. Harsh Yadav ( Github )

Features 🔥

✅ Rename Android Project

✅ Rename IOS Project

✅ Rename WEB Project

✅ Rename Windows Project

✅ Rename Linux Project

What rename_app does

rename_app is a command-line helper you run against a Flutter app project. From the project root (the folder where your app’s pubspec.yaml lives), it edits the platform files that expose the launcher / UI display name. For example: Android (AndroidManifest.xml label), iOS (Info.plist and variants when present), Web (manifest.json), Windows runner sources, and Linux application metadata.

It does not automatically change strings inside your Dart code (such as MaterialApp(title: …)): that stays up to you. For each platform, if the expected config file is missing or you pass an empty name for that platform, that platform is skipped and a short message may be logged.

Arguments like android="..." only update Android; omitting others leaves those platforms untouched. all="..." and config_name.name apply the same name across Android, iOS, Web, Windows, and Linux in one shot.

macOS renaming is currently not wired in the tool (mac CLI is listed for compatibility).

How To Rename ? 🛠

1) ADD THE PACKAGE TO YOUR pubspec.yaml

You only need the package to run dart run rename_app:main, so dev_dependency is typical for an app:

dart pub add rename_app --dev

Alternatively, add rename_app under dependencies: if your workflow prefers that.

2) PROVIDE THE APP NAME

Run commands from your Flutter project directory (pubspec.yaml must exist there). Names are arbitrary display strings — use quoting on the CLI when they contain spaces.

You can supply the app name in two complementary ways:

A — From pubspec.yaml (no CLI arguments)

Add a config_name block at the top level of pubspec.yaml (alongside name:, description:, etc.):

config_name:
  name: "My App"
  • name must be a string. If config_name.name is present, running with zero arguments:

    dart run rename_app:main
    

    is equivalent to dart run rename_app:main all="My App" — same name for Android, iOS, Web, Windows, and Linux.

  • pubspec.yaml must parse as YAML. If the block is missing, name is missing/wrong type, or reading the file fails, the tool prints the help message and exits (same as older versions without config_name).

  • CLI always wins: as soon as you pass any argument (for example all="..." or android="..."), config_name is not used for that invocation.

B — From the CLI (explicit arguments)

Same name for all supported platforms:

Same name for all apps
dart run rename_app:main all="My App Name"
Separate name for specified platform(s) and same for all others
dart run rename_app:main android="Android Name" ios="IOS Name" others="Others Name"
Separate name for each platform
dart run rename_app:main android="Android Name" ios="IOS Name" web="Web Name" mac="Mac Name" windows="Windows Name" linux="Linux Name"

More Flexibilities 😎

REQUIREMENT COMMAND
From pubspec Add config_name.name, then dart run rename_app:main (no arguments)
All Same dart run rename_app:main all="App Name"
Only Android dart run rename_app:main android="Android App"
Only IOS dart run rename_app:main ios="IOS App"
Only WEB dart run rename_app:main web="Web App"
ONLY Windows dart run rename_app:main windows="Windows App"
ONLY Linux dart run rename_app:main linux="Linux App"
With Others dart run rename_app:main android="Android App" ios="IOS App" others="Others App Name"

카테고리

의존성

의존성 목록 2 개

소스 저장소

이 패키지를 사용하는 프로젝트