package Ġcom . va ib hav . soc io fy . di Ċ Ċ import Ġandroid . content . Context Ċ import Ġcom . bump tech . glide . G lide Ċ import Ġcom . google . firebase . auth . k tx . auth Ċ import Ġcom . google . firebase . firestore . k tx . firestore Ċ import Ġcom . google . firebase . k tx . Firebase Ċ import Ġcom . google . firebase . messaging . Firebase Messaging Ċ import Ġcom . google . firebase . storage . k tx . storage Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġdagger . h ilt . Install In Ċ import Ġdagger . h ilt . android . components . Application Component Ċ import Ġdagger . h ilt . android . qual ifiers . ApplicationContext Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Module Ċ @ Install In ( Application Component :: class ) Ċ object ĠApp Module Ġ{ ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovides Auth () Ġ= ĠFirebase . auth ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovides Fire Store () Ġ= ĠFirebase . firestore ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovides Storage () Ġ= ĠFirebase . storage ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovides Messaging () Ġ= ĠFirebase Messaging . getInstance () ĊĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovides G lide (@ ApplicationContext Ġcontext : ĠContext ) Ġ= ĠG lide . with ( context ) ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovides SharedPreferences (@ ApplicationContext Ġcontext : ĠContext ) Ġ= ĊĠĠĠĠĠĠĠ Ġcontext . get SharedPreferences (" SO CI OF Y ", ĠContext . MODE _ PRIVATE ) ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovides ApplicationContext (@ ApplicationContext Ġcontext : ĠContext ) Ġ= Ġcontext Ċ }