This question is locked. New answers and comments are not allowed.
All,
I am getting notifications, but they never trigger a sound or vibration on my device. This is happening in my app as well as the Icenium Everlive Push sample app, which I have not edited. I have verified that my phone is set properly for sound/vibration etc.
Device
iOS 6.1.3
iPhone 4S
Plugin
com.phonegap.plugins.pushPlugin-1.2.2
PhoneGap Version(s)
2.7 in both my app and the sample app
My Icenium Code
My API Server Code
I am getting notifications, but they never trigger a sound or vibration on my device. This is happening in my app as well as the Icenium Everlive Push sample app, which I have not edited. I have verified that my phone is set properly for sound/vibration etc.
Device
iOS 6.1.3
iPhone 4S
Plugin
com.phonegap.plugins.pushPlugin-1.2.2
PhoneGap Version(s)
2.7 in both my app and the sample app
My Icenium Code
var
pushSettings = {
iOS:{
'badge'
:
'true'
,
'sound'
:
'true'
,
'alert'
:
'true'
},
android:{
'senderID'
:
'1096136230769'
},
notificationCallbackIOS : onIosPushReceived,
notificationCallbackAndroid : onAndroidPushReceived
};
My API Server Code
EverliveApp elApp =
new
EverliveApp(
this
.APIToken);
var notification =
new
PushNotification();
//notification.Message = message;
if
(devicePlatform.ToUpper() ==
"IOS"
)
{
notification.iOS =
new
Telerik.Everlive.Sdk.Core.Model.System.Push.IOS.IOSNotification();
notification.iOS.CustomProperties.Add(
"aps.alert"
, message);
}
else
if
(devicePlatform.ToUpper() ==
"ANDROID"
)
{
notification.Message = message;
}
notification.Filter = Filter;
elApp.WorkWith().Push().Notifications().Create(notification).ExecuteSync();