countly-sdk-cpp icon indicating copy to clipboard operation
countly-sdk-cpp copied to clipboard

Is crash analytics planned for the cpp sdk?

Open kelteseth opened this issue 5 years ago • 5 comments
trafficstars

Countly iOS, MacOS, Android, Windows and Javascript SDKs come with crash analytics support built-in.

This is from https://count.ly/plugins/crash-analytics. Is there any support planned for the cpp sdk? I would like to switch from google analytics to countly because of the crash analytics, but I cannot use it if it only supports javascript.

kelteseth avatar Jun 16 '20 08:06 kelteseth

It is certainly in our plans to add it to this SDK, but we don't have a concrete timeline we could disclose right now :innocent:

LVMBDV avatar Jun 16 '20 11:06 LVMBDV

Alright thanks for the update. I guess google breakpad would be then the right choice where we could simply upload the minidump?

kelteseth avatar Jun 16 '20 11:06 kelteseth

It would be a logical choice right now, given that we already use it for the Android native SDK. But it might not be in the future, because it might be abandoned when Google switches to crashpad for Chrome as they plan to: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/6eouc7q2j_g

LVMBDV avatar Jun 16 '20 12:06 LVMBDV

I would like to throw in the latest release of vcpkg that now has GN build support and crashpad port as of today: https://github.com/microsoft/vcpkg/releases/tag/2020.06 for easier dependency management across plattforms :)

kelteseth avatar Jun 17 '20 10:06 kelteseth

I have fixed some wrong array deletion and added vcpkg support with crashpad. Looks like crashpad is x64 only for now. You can see the changes here: https://github.com/kelteseth/countly-sdk-cpp/commit/2df9d51a6c8311c20781694717b033446f9e4695

Also countly-sdk-cpp would be awesome as a vcpkg port!

kelteseth avatar Jul 02 '20 12:07 kelteseth