Ashish Gautam
09/09/2022, 11:52 AMclass MyFirebaseMessagingService @Inject constructor(private val repository : Repository) :
FirebaseMessagingService() {....}
the problem is on the first launch of app ... app is crashing with below message
java.lang.RuntimeException: Unable to instantiate service com.projects.driverapp.MyFirebaseMessagingService: java.lang.InstantiationException: java.lang.Class<com.projects.driverapp.MyFirebaseMessagingService> has no zero argument constructor
but after this crash on second launch of app , this project works without crash ,
what is the root cause ?Paul Woitaschek
09/09/2022, 5:39 PMAshish Gautam
09/10/2022, 3:24 AM