~emersion/goguma-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] ios: Disable background location

Details
Message ID
<20240302203802.12021-1-virgule@jeanthomas.me>
DKIM signature
pass
Download raw message
Patch: +6 -0
Disable background location as recommended in flutter-geolocator.
---
 ios/Podfile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ios/Podfile b/ios/Podfile
index d97a417..d776f68 100644
--- a/ios/Podfile
+++ b/ios/Podfile
@@ -42,5 +42,11 @@ post_install do |installer|
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
      end
    end

    if target.name == "geolocator_apple"
      target.build_configurations.each do |config|
        config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'BYPASS_PERMISSION_LOCATION_ALWAYS=1']
      end
    end
  end
end
-- 
2.39.3 (Apple Git-145)
Details
Message ID
<2CHo4CpXZAQRepGdDo9YrX0WAfyMo76z7JP3FXrojc9fm-dXKeVSjybOUPXlxPK60KFd1OT-C1sFIKKymgR2MOX3OMiVE1PfUYT2jIps5P4=@emersion.fr>
In-Reply-To
<20240302203802.12021-1-virgule@jeanthomas.me> (view parent)
DKIM signature
pass
Download raw message
Pushed, thanks!
Reply to thread Export thread (mbox)