You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While Hilt is the recommended way to use dagger in Android `applications, it's not suitable for SDK/library development.
32
+
While Hilt is the recommended way to use dagger in Android applications, it's not suitable for SDK/library development.
33
33
34
34
## How to get started
35
35
36
-
Since [Dagger](https://dagger.dev) does not strictly follow semver and requires the dagger-compiler version to match with the dagger library version,
36
+
Since [Dagger](https://dagger.dev) does not strictly follow semver and requires the dagger-compiler version to match the dagger library version,
37
37
it's not safe to depend on it via a pom level dependency, see [This comment](https://github.com/firebase/firebase-android-sdk/issues/1677#issuecomment-645669608) for context. For this reason in Firebase SDKs we "vendor/repackage" Dagger into the SDK itself under
38
-
`com.google.firebase.{sdkname}.dagger`, while it incurs a size increase, it's usually on the order of a couple of KB and is considered
38
+
`com.google.firebase.{sdkname}.dagger`. While it incurs in a size increase, it's usually on the order of a couple of KB and is considered
39
39
negligible.
40
40
41
41
To use Dagger in your SDK use the following in your Gradle build file:
@@ -82,7 +82,7 @@ Here's a simple way to define the dagger component:
0 commit comments