5

My Requirement is to change the app name and app icon programmatically after installing the application in flutter.

Using the flutter dynamic icon package :https://pub.dev/packages/flutter_dynamic_icon we can change only the dynamic icon

import 'package:flutter_dynamic_icon/flutter_dynamic_icon.dart'; if (await FlutterDynamicIcon.supportsAlternateIcons) { await FlutterDynamicIcon.setAlternateIconName("photos"); 

Is there is any best solution to achieve my requirement?. please guide.

3
  • Check this for name stackoverflow.com/a/49354353/12402503, Check this for icon pub.dev/packages/flutter_launcher_icons Commented Apr 1, 2020 at 16:47
  • 2
    @FederickJonathan The links you have shared give a solution on how to change the name and icon before install. But my requirement is to change the app name and icon after installing the application programmatically. Commented Apr 2, 2020 at 4:28
  • any solution? @Tester12 Commented Sep 23, 2021 at 9:05

1 Answer 1

0

While the app icon can be changed dynamically for use-cases like dynamic icon for Clock and Calendar apps, the app name can't be changed during run-time. The app name on Android is configured in the Manifest file and on iOS, it's on the InfoPlist file. This can be changed by modifying these files and pushing an update for your app.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.