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
> IMPORTANT: ~~On iOS you will have to include all permission options when you want to submit your App.~~ This is because the `permission_handler` plugin touches all different SDKs and because the static code analyser (run by Apple upon App submission) detects this and will assert if it cannot find a matching permission option in the `Info.plist`. More information about this can be found [here](https://github.com/BaseflowIT/flutter-permission-handler/issues/26).
57
-
> 1. Add the following to your "Podfile" file:
57
+
58
+
On iOS, the permission_handler plugin use [macros](https://github.com/BaseflowIT/flutter-permission-handler/blob/develop/ios/Classes/PermissionHandlerEnums.h) to control whether a permission is supported.
59
+
60
+
By default, all the permissions listed [here](https://github.com/Baseflow/flutter-permission-handler#list-of-available-permissions) are supported.
61
+
62
+
You can remove permissions you don't use by:
63
+
64
+
> 1. Add the following to your `Podfile` file:
58
65
>
59
-
> ```ruby
60
-
> post_install do |installer|
61
-
> installer.pods_project.targets.each do |target|
62
-
> target.build_configurations.each do |config|
63
-
> ... # Here are some configurations automatically generated by flutter
64
-
>
65
-
> # You can remove unused permissions here
66
-
> # e.g. when you don't need camera permission, just add 'PERMISSION_CAMERA=0'
0 commit comments