Bundle Names
Configuring development variables.
Networking permissions
https://docs.flutter.dev/development/data-and-backend/networking#platform-notes
Rename app
flutter pub global activate rename
flutter pub global run rename setAppName --value "medicamina"
flutter pub global rename setBundleId --targets ios --value "us.medicamina.ios"
flutter pub global rename setBundleId --targets android --value "us.medicamina.android"
flutter clean
flutter pub get
iOS
ios/Runner/info.plist
<key>CFBundleDisplayName</key>
<string>medicamina</string>
<key>CFBundleName</key>
<string>medicamina</string>
macOS
This is broken?
macos/Podfile
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_macos_build_settings(target)
target.build_configurations.each do |config|
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.15'
end
end
end
flutter clean
flutter pub get
cd ./macos && pod install
android
android/app/src/main/AndroidManifest.xml
<manifest ...>
<uses-permission android:name="android.permission.INTERNET"/>
<application ... />
</mainfest>