AppDelegate can receive the regular notifications, which are sent with curl to Google API:
curl --header "Authorization: key=$api_key" --header Content-