Closed kd1002 closed 1 year ago
I would check that you have set all of the correct permissions in your manifest and that your rules are set correctly on firebase. I am not having any issues in release mode
Thanks for the response. It looks like Code shrinker in the Android Project settings was the problem. I had it set to "r8", changed it to nothing and that solved the problem.
I am using Visual Studio 2022 Community 17.3.6 Plugin.CloudFirestore 4.1.0 Xamarin.Essentials 1.7.3 Xamarin.Forms 5.0.0.2515
When testing in Debug mode, everything works fine. Plugin.Authentication works fine as well. But when building with "Release" Plugin.CloudFirestore seems to break. When calling UpdateAsync, it just hangs, no response is given. When calling a query then GetAsync, that completes fine but after trying to get the keys or values like "document.Data.Keys", I get System.NullReferenceException
I have tried changing many settings in my Android project but nothing has seemed to work. Also tried using older versions of Plugin.CloudFirestore
Any help would be appreciated.