A push notification is a short message that appears as a pop-up on your desktop browser, mobile home screen, or in your device notification centre from a mobile app. In this talk, @saifsms91 helps you understand what a push notification is, its types, use cases and scenarios.
We’ll use this Club thread to share resources mentioned during the session and answer any questions we don’t get to during the live session.
Hi @saifsms91 I have a few more practical questions about testing push notifications. You just started getting to the interesting bits and then seemed to run out of time.
You talked a lot about what push notifications are from an end user perspective, and in that much no different from polling performed by an app at all really? How are they different?
- Can you tell us more about whether it is possible to characterize correct or desirable behavior for cases where users disable push on their devices? How does this differ per O/S in outcomes? Can an app detect if the user disables push, what should an app do when this is detectable?
- And also for cases where users are offline and then get floods of push notifications, what should we look out for and what can we do to simulate stale state in notifications?
- Finally are there any tools for us testers, how do we go about understanding ways to inject notifications or control and monitor perhaps.
1- Yes it is possible to check if user disabled push notification. What can app do in that case really depends on the Product requirement. Developers would be better in giving technical answer on how to handle it efficiently.
2- Usually bombardment of push notification can happen due to multiple factor one of them includes unsynchronized cron jobs other may be because of faulty code (which we need to test)
3- There are lot of 3rd party tools which can help in triggering push notification like firebase. Some large companies may have their internal independent tool to cater to their client with different push notification services.
So, I just want to be sure I’m not missing the obvious here, when I close the Facebook app, I still get notifications? I was a bit confused by what we mean by “backgrounding” which is a topic not actually covered thus far in the TestBash Mobile as I have been watching. Is it possible to explain more about why backgrounding is important and why or how it behaves differently on the platforms and also about Android app badges. Does iOS also have app badges and are badges linked to push notifications or just notifications in general?