Zezwolenie na lokalizację prośby o trzecie
android.useAndroidX=true
android.enableJetifier=true
Cloudy Chipmunk
android.useAndroidX=true
android.enableJetifier=true
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
...
</manifest>
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
android {
compileSdkVersion 30 // Set this to at least 30
...
}
<key>NSLocationWhenInUseUsageDescription</key>
<string>App needs location permission to work</string>