Crashkios (with firebse crashllytics) quesiton ......
# touchlab-tools
b
Crashkios (with firebse crashllytics) quesiton .... the docs mention to add the dependency to
commonMain
of your shared module ... I'm only using to to handle uncaught exceptions (crashes), so the only place I use the library explicitly is in my ios sourceSet where I call
enableCrashlytics()
and
setCrashlyticsUnhandledExceptionHook()
. Given that, do i still need to add the dependency to my
commonMain
sourceset, or would it suffice to add it to
iosmain
?
k
You could just do that. You only need commonMain if you're calling anything from common code We have a new version going out sometime today (I think?) that handles the linking in an entirely different way, which should remove the need for the dynamic framework and testing workarounds. Just FYI.
b
ah cool. I'm still using dynamic linking anyway, cause swiftUI previews require it 🙄
k
Well, the dynamic linking and Crashlytics involves more hacks. The new version would "resolve" that, hopefully.