https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
e

Eirik Vale Aase

02/26/2021, 8:38 AM
Has anyone integrated AppCenter crash reporting SDK into a multiplatform application? Is it something that would be better implemented on the platforms?
d

Dragos Rachieru

02/26/2021, 8:41 AM
I think you should look at Timber and implement something similar.
The log module should have the base logging functionality, Then create a new module with AppCenter crash reporting SDK in your desired platform.
Then you can export it to Maven and use it like:
Copy code
implementation "com.package:logging:1.0"
implementation "com.package:logging-appcenter:1.0"
The android part is easy to do, I don't know about iOS
e

Eirik Vale Aase

02/26/2021, 9:09 AM
I’ll look at it, thanks for the response 👍
7 Views