https://kotlinlang.org logo
e

Elka

05/20/2020, 6:28 PM
Hello, I am trying to upload the stacktrace to Crashlytics using
CrashKiOS
... I am able to see the non-fatal even on Firebase but it doesn't show me the stacktrace... It is showing (missing)... I am running a Debug build.... @kpgalligan
k

kpgalligan

05/20/2020, 6:38 PM
We’re working on updated docs. Also need to do different things depending on if you have static vs dynamic frameworks.
e

Elka

05/20/2020, 7:00 PM
I am building the Kotlin module as a static framework... It is weird that I don't see the stack trace on the Firebase. The symbol files are missing... I modified a bit the sample code to print the stacktrace when debugging the app... It looks like when you catch Kotlin exception they are not printed anymore in the console...
Copy code
class NomeMpCrashlyticsCrashHandler: CrashkiosCrashHandler {
    
    override func crash(t: KotlinThrowable) {
        t.printStackTrace()
        super.crash(t: t)
    }
   // Code as in the sample/docs...
}
Actually I am able to see the crashes now... Although I didn't change anything...
k

kpgalligan

05/20/2020, 8:32 PM
¯\_(ツ)_/¯
9 Views