I send push notification on iOS devices, but when the screen is locked, it just get brighter, but doesn't show always the push notification
I cannot figure out the pattern
Push notification is OK, and shows sometimes on one device, but not on the others (the other devices bright up the screen)
Setting are OK, different 4 iOS iPad devices
Notifications are correctly delivered to Apple
UPDATE
Note: this random behaviour only seems to happen when the Badge number is 0 and send as 0 (doesn't happen when badge number is not part of the push, or > 0)
Is this expected behaviour?
Related
I am having a problem letting the OS show the default push notification banner while the app is running but behind the lockscreen.
Test Case:
Open the app.
Press on the power button.
Send a push notification from the server.
Current Behaviour:
The phone's screen just turns on.
No notification banner appearing on the screen.
Expected Behaviour:
OS Notification banner to appear on the screen.
Tested on:
iOS 9 & 10
NB. Push notifications are sent, delivered & displayed otherwise than the above test case..
On the iOS9, I noted that all of the notifications are not being seen on the lock-screen. It seems like after a large amount of notifications the lock screen preview will only show some of them. Does anyone know that is there a limit on the max number of notifications shown in lock screen per app, since I am not seeing all of them in the lock screen?
You can see maximum 10 recent notification on the lock screen. You can change the setting for a particular application. By going to iOS Settings-> Notification-> Select any application-> Show in notification center.
I use Parse to send push notifications to iOS devices. This works fine. But SOMETIMES (Here is the question mark) there is a weird behavior:
Send push notification to a device... I swipe/tap it on the device and everything is ok. It is no longer visible on the lock screen, but on the notification center (Pull down menu). Alright!
Send another push notification to this device while iPhone screen is off... Notification appears, but also the old notification appears again (Even when it is one day old) and both sounds are being played almost simultaneously.
An Parse employee answered this question:
It's rare, but can happen when an app sends a lot of similar
notifications to the same device. It's a known problem on our side,
it's on our plate to get fixed.
See here: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/parse-developers/Zo3xBRLWttc
iPhone 4s not receiving iBeacon notifications in background.
I have an app that acts as an iBeacon and also scans for them.Using an iPhone 5, iPad Air, and iPad mini Retina I get the notifications in the foreground and background.
One of our testers has a 4s and apparently only gets notifications in the foreground. It can apparently take up to 15 minutes to deliver the notification and apparently it is not arriving in that time frame. For background modes I have location updates, external accessory communication, uses bluetooth LE accessories and acts as bluetooth le accessory.
I also have notifyEntryStateOnDisplay set to YES. What is weird is that it does work as expected on all devices so I am curious if anyone else has seen this issue.
Currently I am confirming that:
a) It is for sure a 4s.
b) That background use is on for that app.
c) Will get a 4s tomorrow to try hands on.
This is really tricky to test, so I would try it yourself and not rely on reports of a "tester". When you get your 4s, if you do not see background notifications in 15 min of an iBeacon showing up, try hitting the shoulder button and verifying you get it right away.
If this does not help, I'd suggest:
Post your code that produces this problem so others can try.
Try to run the code in the github project referenced in my blog post here and see if that code triggers within 15 min.
If the code in (2) works, there might be an issue in how you are setting it up.
So I just got a complaint from a user saying they were not receiving any notifications from my app. I asked them to go into the Settings app -> Notification Center and check to see if alerts from the app were toggled on. (Banners, Badge app icon, Sounds, Show in notification center, show in lock screen)
Surprisingly, he mentioned that the app wasn't even in the list of apps in the Notification Center. This is weird because on my device, and all devices I've tested with, the app is listed under Notification Center and notifications work fine. How could this possibly happen?
Also, keep in mind that my app only uses local notifications, not push notifications.