Skip to content

Instantly share code, notes, and snippets.

@wjkoh
Last active August 29, 2023 09:03
Show Gist options
  • Save wjkoh/a894de0834849a282da41d3ca6a4948a to your computer and use it in GitHub Desktop.
Save wjkoh/a894de0834849a282da41d3ca6a4948a to your computer and use it in GitHub Desktop.
Flutter: Your MacOS app retrieves empty data from Cloud Firestore
<!-- Update macos/Runner/DebugProfile.entitlements like the following. -->
<!-- See https://docs.flutter.dev/platform-integration/macos/building#setting-up-entitlements -->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
<!-- Add the following two lines -->
<key>com.apple.security.network.client</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment