Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: CrashlyticsLogWriter should allow setting the FirebaseCrashlytics instance #387

Open
svenjacobs opened this issue Jan 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@svenjacobs
Copy link

Currently CrashlyticsLogWriter uses FirebaseCrashlytics.getInstance() internally to obtain an instance of FirebaseCrashlytics. This call uses the default FirebaseApp instance.

However in our app we have multiple Firebase projects and therefore configure FirebaseApp manually in code. We need the possibility to pass in an instance of either FirebaseApp or FirebaseCrashlytics so that logs end up in the correct Firebase project.

One way could be that CrashlyticsCallsActual optionally takes this instance and that CrashlyticsCalls becomes a constructor argument of CrashlyticsLogWriter.

Note: This is written from the viewpoint of an Android application. iOS should probably receive this feature, too.

@TadeasKriz TadeasKriz added the enhancement New feature or request label Apr 9, 2024
@findjigar findjigar self-assigned this Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants