Folloning code is working in android but not in Ios through phone gap? Why
function btncancelprofclick() {
document.getElementById('user_loged_in').value=1;
localStorage.user_loged_in = document.getElementById('user_loged_in').value;
var flage=document.getElementById('checkout_account').value;
if(flage==1)
{
$.mobile.changePage("#dialog-box");
}
else
{
navigator.notification.confirm(
'You have not completed your profile',
onConfirm,
'Note',
'Shop Now,Complete Profile'
);
}
function onConfirm(button) {
if(button==1)
{
}
}
Thanks
Raj
<feature name="Notification">
<param name="ios-package" value="CDVNotification" />
</feature>
- 2013-12-09 16:36:02.280 Pidoco[357:60b] CDVPlugin class CDVNotification (pluginName: Notification) does not exist.
- 2013-12-09 16:36:02.281 Pidoco[357:60b] ERROR: Plugin 'Notification' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
- 2013-12-09 16:36:02.282 Pidoco[357:60b] -[CDVCommandQueue executePending] [Line 127] FAILED pluginJSON = [
- "INVALID",
- "Notification",
- "alert",
- [
- "J",
- "Alert",
- "OK"
- ]
- ]
Undefined symbols for architecture armv7s:
"_AudioServicesPlaySystemSound", referenced from:
-[CDVVibration vibrate:] in CDVVibration.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
<feature name="Notification">
<param name="ios-package" value="CDVNotification" />
</feature>