edamov / pushok

PHP client for Apple Push Notification Service (APNs) - Send push notifications to iOS using the new APNs HTTP/2 protocol with token-based (JWT with p8 private key)
MIT License
368 stars 119 forks source link

fix: APNs Interface Undefined method "getDeviceToken" #151

Closed gaowei-space closed 2 years ago

gaowei-space commented 2 years ago
foreach ($responses as $response) {
            // The device token
            $device_token = $response->getDeviceToken();
            ...