Today, Twitter is announcing that its crash reporting tool Crashlytics is adding support for Android’s Native Development Kit and with it, apps coded in C and C++. The announcement coincides with Google’s I/O developer conference, which is currently underway.
Crashlytics already supports Java-based Android apps, but many developers have been waiting for the crash analytics to expand to apps coded in C/C++. Now, the company is rolling out support for NDK over the next few days.
“We perform a deep analysis of each stack trace to identify the most important frames so you can see the exact line of code that caused the crash and quickly address the issue,” the company said in a statement.
Twitter says that developers already using Crashlytics won’t have to download new plugins or build tools; instead, devs will just have to add a few lines of code to Gradle and Ant builds. Twitter says it will pull in all the necessary dependencies automatically.
If you’re not building from a standard integrated development environment, Crashlytics will still be able to onboard your app by auto-provisioning your keys and onboarding the app from the command line.
A big component of this update is that Twitter is promising to keep developer code safe. Rather than analyzing unstripped binaries uploaded to its servers, Crashlytics will generate the symbols it needs client-side and then upload the necessary information to its servers. This gives devs more control over what gets uploaded and also reduces the amount of information Twitter’s servers have to handle — a win/win.