Flutter for MacOS Distribution - Firestore Bug

Flutter for MacOS Distribution - Firestore Bug

I was building a app testing firestore and hapened to be using MacOS Desktop as the deploy target.

Come to find out it wasn’t connecting to the server but was using local cache instead.

Running the same app with ios worked fine

I haven’t figured it out yet. some references talk about setting entitlements

https://docs.flutter.dev/desktop#entitlements-and-the-app-sandbox https://stackoverflow.com/questions/63044652/how-do-i-get-a-flutter-project-running-on-macos-to-successfully-use-firestore

FIXED:

I needed to update it in xcode

it was ![[image-20220423093532382.png]]

Then switched it to this ![[image-20220423093422322.png]]

References