Igor Milakovic
12/09/2021, 11:23 PMandroidApp
, iosApp
, commonMain
, androidMain
and iosMain
. How/where do you implement Crashlytics to capture crash reports in any scenario? Thanks!Grégory Lureau
12/09/2021, 11:38 PMkpgalligan
12/10/2021, 1:17 PMIgor Milakovic
12/10/2021, 4:17 PMkpgalligan
12/10/2021, 4:19 PMIgor Milakovic
12/10/2021, 4:21 PMkpgalligan
12/10/2021, 4:22 PMcommonMain
and iosMain
are the only thing it cares about. For Android, commonMain
and androidMain
(and I guess androidApp
) are all that it cares about. It's kind of hard to describe what I mean there, but from the compiler and runtime's perspective, commonMain
is just more platform-specific Kotlin (that just happens to have nothing platform specific in it).kpgalligan
12/10/2021, 4:25 PMcommonMain
. The way we do that (with Kermit) is there's a "common" LogWriter that will write to Android's Crashlytics on Android. You could do that on your own by simply defining an interface and passing in an implementation on start, but that's what the Kermit LogWriter exists to do.kpgalligan
12/10/2021, 4:25 PMkpgalligan
12/10/2021, 4:26 PMkpgalligan
12/10/2021, 4:27 PMkpgalligan
12/10/2021, 4:28 PMkpgalligan
12/10/2021, 4:28 PMkpgalligan
12/10/2021, 4:28 PMIgor Milakovic
12/10/2021, 4:28 PMIgor Milakovic
12/10/2021, 4:28 PMkpgalligan
12/10/2021, 4:29 PMIgor Milakovic
12/10/2021, 4:29 PMkpgalligan
12/10/2021, 4:31 PMkpgalligan
12/10/2021, 4:31 PMIgor Milakovic
12/10/2021, 4:32 PMkpgalligan
12/10/2021, 4:32 PMkpgalligan
12/10/2021, 4:33 PMisStatic
needs to be true
cocoapods {
framework {
isStatic = true
}
}
kpgalligan
12/10/2021, 4:34 PMkpgalligan
12/10/2021, 4:35 PMkpgalligan
12/10/2021, 4:35 PMIgor Milakovic
12/10/2021, 4:37 PMkpgalligan
12/10/2021, 4:44 PMIgor Milakovic
12/10/2021, 4:46 PMkpgalligan
12/10/2021, 4:46 PMIgor Milakovic
12/10/2021, 4:46 PMClive Jefferies
12/16/2021, 9:01 AMIgor Milakovic
12/20/2021, 4:05 PM.app.dSYM
?
warning: (x86_64) could not find object file symbol for symbol _kfun:co.touchlab.crashkios#transformException(kotlin.Throwable;kotlin.Function3<kotlin.String,kotlin.String,kotlin.collections.List<kotlin.Long>,kotlin.Unit>){}
warning: (x86_64) could not find object file symbol for symbol _kfun:co.touchlab.crashkios.transformException$throwableBoilerplate#internal
warning: (x86_64) could not find object file symbol for symbol __Konan_init_co.touchlab:crashkios-core
warning: (x86_64) could not find object file symbol for symbol GCC_except_table0
warning: (x86_64) could not find object file symbol for symbol GCC_except_table1
warning: (x86_64) could not find object file symbol for symbol ___unnamed_1
warning: (x86_64) could not find object file symbol for symbol ___unnamed_2
warning: (x86_64) could not find object file symbol for symbol ___unnamed_3
warning: (x86_64) could not find object file symbol for symbol ___unnamed_4
warning: (x86_64) could not find object file symbol for symbol ___unnamed_5
warning: (x86_64) could not find object file symbol for symbol ___unnamed_6
Igor Milakovic
12/20/2021, 4:06 PMkpgalligan
12/20/2021, 4:13 PMIgor Milakovic
12/20/2021, 4:16 PM