Closed superdiazzz closed 2 years ago
Hello @superdiazzz
Do you have some more context to share, helping us to reproduce. Do you use specific bindings? scopes?
Unfortunately i can not produce the crash. However, when i tested with similar type device i don't received any crash. This is how i initialize Kodein in my Application class
also I need crashlytics reference inside onCreate (Application class), so i also call object di variables (CMIIW).
Not sure me can do something about this, as we can't reproduce it. This seems really context (device?) dependent.
However, might worth following this https://issuetracker.google.com/issues/237785592 This could be an R8 issue.
Not sure me can do something about this, as we can't reproduce it. This seems really context (device?) dependent.
However, might worth following this https://issuetracker.google.com/issues/237785592 This could be an R8 issue.
Hi @romainbsl , i will try to figure out from this link. Speaking about my implementation before, does it correct if i call crashlytics params in onCreate
of application? I don't see other sample implementation calling params instance inside application class (Always found in Activity or Fragment)
Sorry for the late response.
I don't think it matters where you call crashlytics, either from Application / Activity / Fragment is fine.
Just, in general, we must be careful with the lifecycles. Bit this is a another topic.
Hi Kodein Team, i have a kind issue in internal kodein library. The issue logged in my crashlytics like below: written log below:
I use kodein version:
implementation 'org.kodein.di:kodein-di-framework-android-x:7.2.0'
How can i solve this issue? thanks