Implementation of push notification handling