Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

flutter request location permission

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)

    target.build_configurations.each do |config|
      config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
        '$(inherited)',

        ## Add the following line.
         'PERMISSION_LOCATION=1'
      ]

    end
  end
end
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #request #location #permission
ADD COMMENT
Topic
Name
6+1 =