How to enable Flutter internet permission for macos desktop app?
You need to add: <key>com.apple.security.network.client</key> <true/> to macos/Runner/DebugProfile.entitlements and macos/Runner/Release.entitlements. This is documented here.
You need to add: <key>com.apple.security.network.client</key> <true/> to macos/Runner/DebugProfile.entitlements and macos/Runner/Release.entitlements. This is documented here.
macOS needs you to request a specific entitlement in order to access the network. To do that open macos/Runner/DebugProfile.entitlements and add the following key-value pair. <key>com.apple.security.network.client</key> <true/> Then do the same thing in macos/Runner/Release.entitlements. You can read more about this in the Desktop support for Flutter documentation.