Custom GCM handling example