1

I try to build a javascript build on codenameone. But I still can see the class name in the built files set, from teavm.

Is there anyway to obfuscate the all class name in my package? I realize android build is obfuscated by default, not sure how is javascript build.

Kindly advice.

1 Answer 1

2

It's already obfuscated by default e.g. check out the restaurant demo from the demos section.

The JavaScript code is totally obfuscated:

https://www.codenameone.com/demos/Restaurant/teavm/classes.js

You can disable this thru the javascript.minifying=false build hint covered here.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.