jsb.reflection works well inside a component. Does anyone knows how to use jsb.reflection in a plain js module? What is needed to require? I got message “ReferenceError: jsb is not defined” when try to use it.
How to use jsb in plain js module?
My mistake. I should run on a device, not a simulator.