How to get bundle id in flutter
To find the project name manually, you can look in AndroidManifest.xml or in Info.plist.
Android
In Android the package name is in the AndroidManifest:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" ... package="com.example.appname">
iOS
In iOS the package name is the bundle identifier in Info.plist:
<key>CFBundleIdentifier</key><string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
which is found in Runner.xcodeproj/project.pbxproj:
PRODUCT_BUNDLE_IDENTIFIER = com.example.appname;
See also
In iOS portion of a Flutter project Product Bundle Identifier is in project.pbxproj
file in path:
[your-flutter-project-dir]\ios\Runner.xcodeproj\project.pbxproj
and that is specified as following:
PRODUCT_BUNDLE_IDENTIFIER = com.app.flutter.example;
Note in that this value is same as Android Package Name
in Flutter projects.
If you just need to get the IOS bundle ID manually, here is how
- In Android Studio select the root folder (ex.
flutte_name
) - In the taskbar go to
Tools>>Flutter>>Open IOS Modules in Xcode
- In Xcode open Runner and under
Identity/Bundle Identifier
there is your ID