My code works fine in debug and release mode. However, I get tons of errors in obfuscation mode (the errors occur while running the app). Is there a list of potential pitfalls? Things to check?
AFAIK there is only one pitfall.
All subs that are called by callsub need to have an _ in them. Otherwise the call to
CallSub("Hello") will be not work.
Ok, problem solved. When renaming the sub to "day_Touch", everything worked fine. So Erel, this might be a bug... subs in SetOnTouchListener definitely need an underscore.
CallSub and CallSubDelayed are internal keywords. Reflector.SetOnTouchListener is not. The best solution would have been for reflector to use the convention used by events which is to add the event suffix to the "event name" parameter (with an underscore between).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.