I'm having as issue with Push Notification to iOS8 device. Everything works fine, but the push is not ringing, only appears on the screen. I am sending normal pushes via dashboard, in which sound is enabled by default. I tested on iPhone4 (iOS 7.1.2), iPhone5 (iOS 7.0.4), it works fine, but there is no sound on iPhone with iOS 8. Thanks
edit:
1) We have already modified our code to handle changes push notification registration for ios8. Below is the code snippet:
// Register for Push Notitications, if running iOS 8
if ([application respondsToSelector:@selector(registerUserNotificationSettings:)]) {
UIUserNotificationType userNotificationTypes = (UIUserNotificationTypeAlert |
UIUserNotificationTypeBadge |
UIUserNotificationTypeSound);
UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:userNotificationTypes categories:nil];
[application registerUserNotificationSettings:settings];
[application registerForRemoteNotifications];
} else {
// Register for Push Notifications before iOS 8
[application registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound)];
}
2) Changing any and all configuration settings doesn't helped either, nor does restarting the device.
Seems like you need this in the request JSON: "sound": "default"
. Blank used to work, but now needs "default" to use the default sound.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With