Have been working fine except when we updated from 0.14.2 to 0.14.5.
I believe it is due to #158
Here is what we're doing:
$options = [
'key_id' => '***',
'team_id' => '***',
'app_bundle_id' => '***',
'private_key_content' => '***',
];
$tokenString = Token::create($options)->get(); // <-- Exception is thrown here
$authProvider = Token::useExisting($tokenString, $options);
$client = new Client($authProvider, config('apns.live'));
// Create notifications here
$client->addNotifications($notifications);
$client->push();