f-miyu / Plugin.CloudFirestore

MIT License
121 stars 44 forks source link

iOS Crashes when calling "CrossCloudFirestore.Current.Instance" #87

Closed cornelha closed 2 years ago

cornelha commented 2 years ago

While testing out the library I could get it working on Android just fine, however on iOS the app just closes as soon as I call "CrossCloudFirestore.Current.Instance" with the following debug output:

Parameter name: firestore'. Callstack: ' at Plugin.CloudFirestore.FirestoreWrapper..ctor (Firebase.CloudFirestore.Firestore firestore) <0x11da76ed8 + 0x0001a> in <65f715c16e684ecea31762bc9b39b9f7>:0 at Plugin.CloudFirestore.FirestoreProvider..cctor () <0x11da7c020 + 0x00014> in <65f715c16e684ecea31762bc9b39b9f7>:0 ' The app has been terminated.

Xamarin.Firebase.iOS.Core 6.1.0.1 is installed GoogleService-info.plist is included and set as BundledResource Please advise

angelru commented 2 years ago

@cornelha Have you tried updating all nuget packages?

cornelha commented 2 years ago

Updating nuget packages did the trick, thank you, sorry for the late reply.