jeudi 28 janvier 2016

Laravel $push->getAdapter()->getResponse() is blank for iphone

I am using Laravel push notification library, for pushing notification. However, i can easly get responses for GCM responses for Android Device. But unable to get APNS response.

$message = PushNotification::Message("New Messages",$params['payload']);
        $collection = PushNotification::app('appNameIOS')
                ->to($params['reg_id'])
                ->send($message);
    foreach ($collection->pushManager as $push) {
        $response = $push->getAdapter()->getResponse();
    }



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire