Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Using Hilt in Libraries or SDK #31

Open
ynagarjuna2012 opened this issue Sep 16, 2021 · 3 comments
Open

Using Hilt in Libraries or SDK #31

ynagarjuna2012 opened this issue Sep 16, 2021 · 3 comments

Comments

@ynagarjuna2012
Copy link

Hello Fellow Devs,

I am curious to know if I can use Hilt in libraries / SDK without the need of client annotating application class with @HiltAndroidApp

Is this use-case intentionally kept out if so would like to know them. There is very little info on this front.

@jeckefe
Copy link

jeckefe commented Sep 23, 2021

In fact, I implemented hilt in a library with aar extension and I have problems with the hiltandroidapp

@yschimke
Copy link

I've used it with client apps that provide @HiltAndroidApp, but is there something that breaks it when used as an aar library?

@felipezad
Copy link

Do we have any news regarding this use case?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants