Extended of Safer VPN Docs
  • 👋Welcome to A Safer VPN Product
  • App Guides
    • 🔑Configure KeyStore Android
    • đŸ“ļConfigure Firebase
    • đŸ“ĒChange app name
    • â„šī¸Change Icon
    • 📎Change package name
    • âœ’ī¸Change Colors
    • 🔰Change admob
    • 🔐Configure WireGuard Apple
  • Admin Panel
    • đŸ› ī¸Admin Panel
      • 📝Admin Panel Installation
  • Subscription
    • đŸ› ī¸Subscription Feature
      • 📝iOS Product Setup
      • â†—ī¸Google Play Product Setup
  • đŸ‘ī¸â€đŸ—¨ī¸App Config
Powered by GitBook
On this page
  • iOS
  • Android
  • Change App Package Name for Flutter
  • What It does?
  • How to Use?
  1. App Guides

Change package name

PreviousChange IconNextChange Colors

iOS

change the package name and app group

change the package name and app extension in iOS

this step same like macOS version

Android

for android just use the change_app_package_name: ^1.1.0 plugin

Change App Package Name for Flutter

Change App Package Name with single command. It makes the process very easy and fast.

What It does?

  • Update AndroidManifest.xml files for release, debug & profile

  • Update build.gradle file

  • Update MainActivity file. Both java & kotlin supported.

  • Move MainActivity file to new package directory structure

  • Delete old package name directory structure.

How to Use?

Add Change App Package Name to your pubspec.yaml in dev_dependencies: section.

dev_dependencies: 
  change_app_package_name: ^1.1.0

Not migrated to null safety yet? use old version like this

dev_dependencies: 
  change_app_package_name: ^0.1.3

Update dependencies

flutter pub get

Run this command to change the package name.

flutter pub run change_app_package_name:main com.new.package.name

Where com.new.package.name is the new package name that you want for your app. replace it with any name you want.

📎