{"id":15040960,"url":"https://github.com/atiqsamtia/change_app_package_name","last_synced_at":"2025-04-08T11:15:25.160Z","repository":{"id":38198265,"uuid":"256204368","full_name":"atiqsamtia/change_app_package_name","owner":"atiqsamtia","description":"Change App Package Name with single command. It makes the process very easy and fast.","archived":false,"fork":false,"pushed_at":"2025-02-23T04:28:27.000Z","size":24,"stargazers_count":142,"open_issues_count":9,"forks_count":70,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-01T10:11:13.414Z","etag":null,"topics":["android","android-app","flutter","flutter-app","flutter-package"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/change_app_package_name","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atiqsamtia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-16T12:11:01.000Z","updated_at":"2025-02-23T04:28:31.000Z","dependencies_parsed_at":"2024-06-03T03:51:36.938Z","dependency_job_id":"b7404818-5695-4a75-87ed-057dcc1b40ef","html_url":"https://github.com/atiqsamtia/change_app_package_name","commit_stats":{"total_commits":29,"total_committers":11,"mean_commits":"2.6363636363636362","dds":0.5862068965517242,"last_synced_commit":"e60a853c3cb30fc9cda27747fd2ac705af5aee21"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atiqsamtia%2Fchange_app_package_name","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atiqsamtia%2Fchange_app_package_name/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atiqsamtia%2Fchange_app_package_name/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atiqsamtia%2Fchange_app_package_name/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atiqsamtia","download_url":"https://codeload.github.com/atiqsamtia/change_app_package_name/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247829512,"owners_count":21002997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-app","flutter","flutter-app","flutter-package"],"created_at":"2024-09-24T20:45:20.151Z","updated_at":"2025-04-08T11:15:25.129Z","avatar_url":"https://github.com/atiqsamtia.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Change App Package Name for Flutter\nChange App Package Name with single command. It makes the process very easy and fast.\n\n## What It does?\n- [x] Update AndroidManifest.xml files for release, debug \u0026 profile\n- [x] Update build.gradle file\n- [x] Update MainActivity file. Both java \u0026 kotlin supported.\n- [x] Move MainActivity file to new package directory structure\n- [x] Delete old package name directory structure.\n- [x] Update Product Bundle Identifier in iOS.\n  - if you have customized CFBundleIdentifier in Info.plist, it will not be updated. You have to update it manually.\n- [x] Specify which platform they want to rename the package for.\n\n## How to Use?\n\nAdd Change App Package Name to your `pubspec.yaml` in `dev_dependencies:` section. \n```yaml\ndev_dependencies: \n  change_app_package_name: ^1.4.0\n```\nor run this command\n```bash\nflutter pub add -d change_app_package_name\n```\nNot migrated to null safety yet? use old version like this\n```yaml\ndev_dependencies: \n  change_app_package_name: ^1.4.0\n```\n\n\nUpdate dependencies \n```\nflutter pub get\n```\nRun this command to change the package name for both platforms.\n\n```\ndart run change_app_package_name:main com.new.package.name\n```\nTo rename only Android:\n```\ndart run change_app_package_name:main com.new.package.name --android\n```\nTo rename only IOS:\n```\ndart run change_app_package_name:main com.new.package.name --ios\n```\n\nWhere `com.new.package.name` is the new package name that you want for your app. replace it with any name you want.\n\n## Meta\n\nAtiq Samtia– [@AtiqSamtia](https://twitter.com/atiqsamtia) – me@atiqsamtia.com\n\nDistributed under the MIT license.\n\n[https://github.com/atiqsamtia/change_app_package_name](https://github.com/atiqsamtia/change_app_package_name)\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/atiqsamtia/change_app_package_name/fork\u003e)\n2. Create your feature branch (`git checkout -b feature/fooBar`)\n3. Commit your changes (`git commit -am 'Add some fooBar'`)\n4. Push to the branch (`git push origin feature/fooBar`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatiqsamtia%2Fchange_app_package_name","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatiqsamtia%2Fchange_app_package_name","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatiqsamtia%2Fchange_app_package_name/lists"}