Is it possible to use `@ApplicationContext` in DFM...
# dagger
m
Is it possible to use 
@ApplicationContext
 in DFM (dynamic feature module)? or should we provide application context manually? If we need to provide manually in DFM, is there any reference you guys can point me out?
Copy code
DFM - error: [Dagger/MissingBinding] @dagger.hilt.android.qualifiers.ApplicationContext android.content.Context cannot be provided without an @Provides-annotated method.
opened an issue here: https://github.com/google/dagger/issues/2477
f
In a dynamic feature module, you must use pure Dagger2 and bind the instance yourself
😭 1
m
Well noted with thanks, we’re using
@EntryPointAccessor
and access it as
dependencies = ...
(in DFM) as stated from official sites: https://developer.android.com/training/dependency-injection/hilt-multi-module#dfm