You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to Flutter 1.20.0 beta a new Podfile needs to be generated (flutter/flutter#45197).
Afterwards I added the configuration to the Podfile but it is not taking effect.
I ran flutter clean without any effect, something must have changed in the targets.
I can request all permissions, camera etc. which means the macros are not working.
Expected behavior
Only location permission should be available.
Reproduction steps
Update to Flutter 1.20.0 beta
Configure permissions for iOS and exclude camera
Try to use camera
Configuration
post_installdo |installer|
installer.pods_project.targets.eachdo |target|
flutter_additional_ios_build_settings(target)target.build_configurations.eachdo |config|
# You can remove unused permissions here# for more infomation: https://github.com/BaseflowIT/flutter-permission-handler/blob/develop/permission_handler/ios/Classes/PermissionHandlerEnums.h# e.g. when you don't need camera permission, just add 'PERMISSION_CAMERA=0'config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)',## dart: PermissionGroup.calendar'PERMISSION_EVENTS=0',## dart: PermissionGroup.reminders'PERMISSION_REMINDERS=0',## dart: PermissionGroup.contacts'PERMISSION_CONTACTS=0',## dart: PermissionGroup.camera'PERMISSION_CAMERA=0',## dart: PermissionGroup.microphone'PERMISSION_MICROPHONE=0',## dart: PermissionGroup.speech'PERMISSION_SPEECH_RECOGNIZER=0',## dart: PermissionGroup.photos'PERMISSION_PHOTOS=0',## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse]# 'PERMISSION_LOCATION=0',## dart: PermissionGroup.notification'PERMISSION_NOTIFICATIONS=0',## dart: PermissionGroup.mediaLibrary'PERMISSION_MEDIA_LIBRARY=0',## dart: PermissionGroup.sensors'PERMISSION_SENSORS=0']endendend
Version: 5.0.1
Platform:
[x ] 📱 iOS
🤖 Android
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
After upgrading to Flutter 1.20.0 beta a new Podfile needs to be generated (flutter/flutter#45197).
Afterwards I added the configuration to the Podfile but it is not taking effect.
I ran
flutter clean
without any effect, something must have changed in the targets.I can request all permissions, camera etc. which means the macros are not working.
Expected behavior
Only location permission should be available.
Reproduction steps
Configuration
Version: 5.0.1
Platform:
The text was updated successfully, but these errors were encountered: