mochotomochotoロゴ

[Flutter]アプリ名を変更する

広告Flutter
2024年01月11日

Flutter アプリの iOS と Android の表示名を変更する方法です。

#Android

#AndroidManifest.xml をファイルを編集する

android/app/src/main/AndroidManifest.xml ファイルを開きます。

android:labelの項目を任意のアプリ名に変更します。 ※例は「MOCHOTO」にしています。

android/app/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
	android:label="MOCHOTO"
	android:name="${applicationName}"
	android:icon="@mipmap/ic_launcher">

#iOS

ios/Runner/Info.plist ファイルを開きます。 CFBundleDisplayName の<string>項目を任意のアプリ名に変更します。 ※例は「MOCHOTO」にしています。

<key>CFBundleDisplayName</key>
<string>MOCHOTO</string>

#ビルド

プロジェクトをビルドするとアプリ名表示が更新されます。

#関連記事

[Flutter]パッケージ名を変更する

[Flutter]プロジェクト名を変更するmochot.commochot.com
[Flutter]パッケージ名を変更する