<Application onCreate method gets called twice> In...
# stackoverflow
u
Application onCreate method gets called twice Inside my Application.onCreate I have a method called uploadFcmTokenToServet which is being called twice. I dig inside it and find out that onCreate is being called twice too. I cannot understand what makes my application onCreate method getting called twice. Here's my code class App: Application { override fun onCreate(){ super.onCreate() Log.d("mylog", "onCreate") uploadFcmTokenToServer() I've checked everything, my log is unique and nothing is logging the same...