Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize library size with libsigner.so #617

Open
G00fY2 opened this issue Sep 25, 2024 · 1 comment
Open

Optimize library size with libsigner.so #617

G00fY2 opened this issue Sep 25, 2024 · 1 comment

Comments

@G00fY2
Copy link

G00fY2 commented Sep 25, 2024

Our release APK has a size of roughly 11 MB. The libsigner.so (uncompressed) alone is about 950 KB (for arm64-v8a). So the native library from Adjust Signature SDK causes a significant amount of the app size.

We can not evaluate how much effort you already put into optimizing binary size. Maybe there is still some room for improvement, like e.g. these technics: Android NDK: How to Reduce Binaries Size – The Algolia Blog

@dimim
Copy link

dimim commented Sep 26, 2024

Hi @G00fY2.

Thanks for getting in touch & sharing your thoughts.

I can confirm that the size is an outcome of the product's nature: The Signature is a highly obfuscated library and aims to thwart both dynamic and static analysis. Some of those traits lead to an increase in size.

The above said, we are not disregarding the impact on an app in the name of security. Indeed, the size is a major point of discussion before every release and with considerable work in the past to minimize. It's, however, often a tradeoff between the product's defenses and size.

Given the current status quo with fraud, I cannot promise alterations as that would damage the product's defenses. But I can confirm continuous monitoring and effort to keep the size at bay. Naturally, we will go through the link you shared and similar in detail to see if something was missed on our end.

Happy to hear thoughts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants