ProGuard your extension

I saw something from the Kodular IDE, where it Obfuscates your extension I’m assuming. Can I do this for mine?

2 Likes

We don’t provide any way to obfuscate App Inventor extensions. It’s possible you could do it with the right set of pro guard rules (you’d have to recreate classes.dex), but there is nothing in our open source repo that supports it.

4 Likes

Can you give me an idea on how to do it?

I also want to know how it’s possible to add Proguard in Components too ?
Can you give idea about this too ?

1 Like

you might want to look into this branch

which was done in March 2017 and probably now does not work anymore...

what it does: It removes all variable names and function names and source details of the extension.
This makes it very difficult to get the extension source code from decompiling.

Taifun

5 Likes

Have an idea how to use this in components too ?

4 Likes

@Diego implemented this for App Inventor extensions. You can pass the flag -Dproguard=1 to the ant command to proguard the extension during compilation.

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.