I have an android app written in kotlin with a C++ native library (.so). With crashlytics we are able to obfuscate kotlin methods and yet obtain symbolicated crash reports, is it possible to have the same for the native library? Currently I have to choose either to build the C++ library with -fvisibility=hidden
and have my function names obfuscated (not visible if I run nm -gDC <.so library packaged with the apk>), or to have my function names visible in the .so file and obtain symbolicated crash reports. Can I have an obfuscated .so file packaged with my app and yet get a symbolicated crash report for crashes within the native library?
This answer seems to imply that I cannot have it all.