xamarin / GoogleApisForiOSComponents

MIT License
225 stars 162 forks source link

Application crashing after updating Firebase SDK #481

Closed mvbrazas closed 3 years ago

mvbrazas commented 3 years ago

I updated my Firebase SDK from and to Xamarin.Firebase.iOS.Analytics 6.4.1 updating to 6.9.0 Xamarin.Firebase.iOS.Core 6.6.6 updating to 6.10.4 Xamarin.Firebase.iOS.InstanceID 4.3.3 updating to 4.8.0 Xamarin.Firebase.iOS.PerfomanceMonitoring 3.1.11 updating to 3.3.0

It compiled and builded. With no errors. But when Xamarin is opening the simulator or device it will crash after 3 seconds. It also does not leave any logs on visual studio's application output.

I've tried installing all other Xamarin.Firebase.iOS SDK incases in had dependencies on other SDK. It still crash after 3 seconds on simulator or device

I've uploaded sample repo with only 3MB file size https://github.com/mvbrazas/firebaseupdatecrash

mvbrazas commented 3 years ago

Finally solved my issue. The issue is with my Plugin.FirebasePushNotification 3.3.10 SDK. It has unlogged issue when I updated the other Firebase SDK. After I removed it my application stopped crashing.

To fixed the issue without removing Plugin.FirebasePushNotification I just have to install Xamarin.Firebase.iOS.CloudMessaging 4.7.1