Urban Airship notification not shown on iOS 10 lock screen device

I am working on one application. Currently on iOS9 I was able to get notification in all scenarios like foreground, background and when device locked I was able to see notification on lock screen. When I update my device to iOS 10.2.1 and iOS 10.1.1, I am able to get notification when the application is in foreground and background, but when device is locked I am not getting any notification on lock screen and notification trey. I checked App specific setting like
1) Allow notification - On
2) Show in Notification center - On
3) Sounds - On
4) Badge App icon - On
5) Show on lock screen- On
6) Alert style when unlocked - Banner

I also checked Do not disturb
1) Manual - Off
2) Scheduled - Off
3) Allow calls from - Everywhere
4) Repeated Calls - On
5) Silence- Always (I also checked with "Only while iPhone is locked").

I don't see any notification when device is locked on lockscreen.

Steps to Reproduce:
1) Installed iOS 10.2.1 or iOS 10.1.1 on your iPhone
2) installed app with above mentioned setting.
3) Send notification through Urban Airship.
4) Notification will appear on device in foreground and background expect when device is locked.
5) No notification will appear when device is locked, not even on notification trey.

Expected Results:
1) Notification should appear when device is locked. 

Actual Results:
1) Notification not received when device is locked. 

iOS 10.2.1 and iOS 10.1,1


iPhone 6 Plus, iPhone 6s, iPhone 6

Didn't find what you were looking for?

New post


1 comment

  • Hi Ashish,

    Just so I know which app you're testing on, can you send over your App Key?

    Usually in situations like this I like to take a look at the push you're sending along to your device. Depending on the type of push being sent, if it's not labeled as high priority, Apple may not show it on the lock screen, and especially if it's a background push.

    Also, it would be helpful to see any Xcode logs if you have them, as they may show some additional info that might be useful during troubleshooting.

    Comment actions Permalink

Please sign in to leave a comment.