Migrated messaging logic to Google Cloud Messaging services