Android Question obfuscator doesn't process threaded calls

sorex

Expert
Licensed User
Longtime User
Hello,

A few months ago I had a project which used a thread to precalculate some data.

While applying a small update I remembered again that this project couldn't be compiled with the obfuscator selected.

I don't think the obfuscator takes care of these type of calls.

B4X:
 trThread.Start(Me,"mysub",args)

while it still renames the mysub sub so you get crashes.

ok, I know the thread lib is not a core lib but I guess a lot of people use it to run some tasks in the background. It's just adding another entry in a look up list I guess?
 

corwin42

Expert
Licensed User
Longtime User
Just rename your sub to "my_sub" and it will work. Subs with underscore in their name will not be obfuscated.

It is shown in the "Pitfalls" section of the Obfuscator tutorial.
 
Upvote 0
Top