As documented, since 1.6 the meaning of the second argument the reverse (cancelable instead of blocking) and can also be a callback, which would be called if the user taps the mask to cancel the loading activity
Alloy.Globals.loading.show('Your message', true); //second param is for cancelable
However, there is a lack of function type validation against pass-in argument cancelable before call it in window.js which leads to the red screen. See below
if (cancelable) { cancelable(); //supposed to be typeof cancelable === "function" && cancelable(); }
As documented,
since 1.6 the meaning of the second argument the reverse (cancelable instead of blocking) and can also be a callback, which would be called if the user taps the mask to cancel the loading activity
Alloy.Globals.loading.show('Your message', true); //second param is for cancelable
However, there is a lack of function type validation against pass-in argument cancelable before call it in window.js which leads to the red screen. See below
if (cancelable) { cancelable(); //supposed to be typeof cancelable === "function" && cancelable(); }
Please double check and confirm this bug.
Thanks