- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used the Cordova Library command prompt and an error occurred. Does anyone know why? Thanks ...
Command :
navigator.notification.prompt(
'Please enter your name', // message
onPrompt, // callback to invoke
'Registration', // title
['Ok','Exit'], // buttonLabels
'Jane Doe' // defaultText
);
Error :
Notification.prompt
The program under test has called the native part of a Cordova plugin that is unknown to the emulator.
It appears that we are missing emulation for that API.
Push the Fail button to continue the API by calling the fail callback.
Push the Success button to continue the API by calling the success callback.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The emulator won't display this prompt because it doesn't have the appropriate functionality to render the expected user experience. You will need to test this functionality on a real device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much, Elroy.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page