firebase / firebase-android-sdk

Firebase Android SDK
https://firebase.google.com
Apache License 2.0
2.28k stars 579 forks source link

Feature Request: Open Source Firebase Crashlytics SDK #13

Closed maks closed 4 years ago

maks commented 6 years ago

What feature would you like to see?

It would be very useful to also have the Firebase Crashlytics SDK available as open source.

How would you use it?

Having the Crashlytics SDK available under an open source license would allow apps that are distributed via F-Droid to make use of it as it has a restriction of not allowing apps that have dependencies on non open source libraries.

ashwinraghav commented 6 years ago

Thanks for reaching out @maks. This is definitely something on our radar over the next few months. Looking at the inclusion policy, it seems like F-Droid requires all dependencies, including transitive ones to be FLOSS.

While plausible for Crashlytics given its dependencies, it behooves us to set realistic expectations that open sourcing transitive dependencies becomes much harder for many Firebase products that have a dependency on play services.

maks commented 6 years ago

Thanks for the very quick response @ashwinraghav ! Yes I didn't take into account possible transitive deps on closed src libs like play services that Crashlytics may have though in this case it looks promising so I will keep an eye out for any updates here.

And yes agree about being realistic as looking through the gradle files for the firebase sdks that have been already open sourced here, I can see that most (including common) have deps on play services.

long1eu commented 6 years ago

how about the auth module? I'm doing a port to dart to be used with flutter. I did the common module, and half of the firestore.

samtstern commented 6 years ago

@long1eu have you seen FlutterFire it has support for Firebase Auth and Firestore in flutter.

long1eu commented 6 years ago

@samtstern yeah, but those are plugins not actual sdks

long1eu commented 6 years ago

so again what about the auth module?

samtstern commented 6 years ago

I can't give you a very satisfying answer. We want to open source all of the SDK modules eventually, but the timeline for doing so is different for each team.

Auth is trickier than most because it has some pieces that communicate with Google Play services. The SDKs which have been open-sourced here so far don't communicate outside of your app process.

long1eu commented 6 years ago

I see. Thanks

SUPERCILEX commented 4 years ago

Tis done peeps! https://github.com/firebase/firebase-android-sdk/pull/1103

samtstern commented 4 years ago

@SUPERCILEX giphy