There is an issue with the method showText(): it has the same name as the property 'showText' of the widget object. Since there are getters and setters definitions for every property, declaring
exports.showText = showText;
at the end of the widget overrides the value of the property with the definition of the method showText(). This causes a crash on Android.
Changing the name of the method solves the problem.
There is an issue with the method showText(): it has the same name as the property 'showText' of the widget object. Since there are getters and setters definitions for every property, declaring
exports.showText = showText;
at the end of the widget overrides the value of the property with the definition of the method showText(). This causes a crash on Android. Changing the name of the method solves the problem.