Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-2885
in
a recent build.
-
Sencha User
Ext.device.notification.PhoneGap does not return pressed button in lowercase
The callback for Ext.device.notification.PhoneGap receives the button value exactly as it was specified under buttons, whereas Ext.device.notifcation.Simulator en Ext.device.notification.Sencha return the value in lowerCase.
Proposed fix for Ext.device.notification.PhoneGap on line 13:
Code:
config.callback.apply(config.scope, (config.buttons) ? [config.buttons[index - 1]].toLowerCase() : []);
-
-
Sencha User
Fixed for the next release. Thanks!