Complete sendPushNotification() method