Bug? B4A Gestures Lib doesn't work obfuscated

Marcos Alves

Well-Known Member
Licensed User
Hello,

I noticed that after obfuscation the gestures lib (1.20) doesn't work anymore and the gesture events aren't raised... (Android 9 / Android X SDK)
Is there some alert about this? Did anybody got the same error?
 

Marcos Alves

Well-Known Member
Licensed User
Hello,

I noticed that after obfuscation the gestures lib (1.20) doesn't work anymore and the gesture events aren't raised... (Android 9 / Android X SDK)
Is there some alert about this? Did anybody got the same error?
Never mind... I found this: https://www.b4x.com/android/forum/threads/problem-with-the-release-obfuscated-mode.27488/

gestures lib allow to you to add the full event name (like many others...)
It looks that if the event name doesn't follow the B4A standard the obfuscation process generates a problem.
The RULE: all events names in B4A MUST to contain _ (underscore) in its declarations!
 
Top