
Explain how you would design push notification handling and background processing in a mobile app. Cover how the app receives a push, how it processes the payload in different app states, and how you would keep background work reliable without violating OS limits.