segment-integrations / analytics-ios-integration-firebase

Segment's bundled integration for Firebase on iOS
MIT License
13 stars 92 forks source link

Crash on FIRApp configure #36

Closed kanclalg closed 2 years ago

kanclalg commented 5 years ago

App crashes on this line when you try to configure it the second time.

SEGFirebaseIntegration.m - Line 21

Throws:

Fatal Exception: com.firebase.core
Default app has already been configured.
+[FIRApp configureDefaultAppWithOptions:sendingNotifications:]
nonesc commented 5 years ago

Please fix this issue.

cubissimo commented 5 years ago

I'm think is a good pratice to allow us to configure the default app outside this integration as well. Maybe init with settings can make this configuration a bleeze. Allowing us to pass flags, like defaultApp

something like:


[config use:[SEGCleverTapIntegrationFactory instance initWithSettings:settings]];
sabind commented 5 years ago

Any progress on this?

lukaszspaczynski commented 5 years ago

Why this is still not fixed?