xamarin / GoogleApisForiOSComponents

MIT License
225 stars 162 forks source link

Crashlytics does not accept alternate path to GoogleService-Info.plist? #415

Open LittleCornerDev opened 4 years ago

LittleCornerDev commented 4 years ago

In AppDelegate.cs, I specify the path to the GoogleService-Info.plist file as part of FirebaseOptions:

string googleServicesPlistPath = NSBundle.MainBundle.PathForResource("GoogleService-Info", "plist", "Configurations");          
Firebase.Core.Options firebaseOptions = new Firebase.Core.Options(googleServicesPlistPath); 
Firebase.Core.App.Configure(firebaseOptions);

However, Crashlytics seems to still look for GoogleService-Info.plist in the project root when it tries to run upload-symbols script for the dSyms. This results in a build error.

I have tried to initialize Crashlytics with both Crashlytics.Configure() and Fabric.With(). The error persists.

Is there any way to configure Xamarin.Firebase.iOS.Crashlytics to accept a different path to GoogleService-Info.plist?