cordova-plugin-actionsheet
cordova-plugin-actionsheet copied to clipboard
No Popup on WP8.1
Cordova - WP8.1 (Visual Studio 2015), I debugged several hours, but i cant find the solution... please help...
VS Settings: Debug - Windows Phone (Universal) - Emulator8.1
What could i find out:
- after deviceReady
- window.plugins.actionsheet.show - is called
- ActionSheetProxy.js -> ActionSheet.prototype.show - is called to
- But i cant see any PopUp (on WP8.1 - but Android works very well)
To validate, I started with a new super stupid Project, add your pluging and add following:
- Microsoft.WinJS.1.0/css/ui-dark.css
- Microsoft.WinJS.1.0/js/base.js
- Microsoft.WinJS.1.0/js/ui.js
function testPopup() { var options = { 'androidTheme': window.plugins.actionsheet.ANDROID_THEMES.THEME_HOLO_LIGHT, // default is THEME_TRADITIONAL 'title': 'Please help?, 'buttonLabels': ['hm', 'no popup'], 'androidEnableCancelButton': true, 'winphoneEnableCancelButton': true, 'addCancelButtonWithLabel': 'Cancel' }; window.plugins.actionsheet.show(options, callback); };
testPopup();
Any update on this issue? I`m running into the same problem.
I just raised #55 to use PopupMenu on Windows.