solvecrew / ExpoNotificationsBundle

Symfony bundle to handle the BE parts of the push notifications from the expo react-native framework.
MIT License
20 stars 17 forks source link

guzzle: Error creating resource Filename cannot be empty #22

Open MaskedHawk opened 5 years ago

MaskedHawk commented 5 years ago

Hey i'm on symfony4, i tried to use ExpoNotifications Bundle (Version 1.2) like this:

$notificationManager = $this->container->get("sc_expo_notifications.notification_manager");

$title = "toto";
$message = "toto";
$token = "3h-JyAFpUIunyzV_Jik5zI";

$httpResponse = $notificationManager->sendNotification(
    $message,
    $token,
    $title
);

and I got this error.

Error creating resource: [message] fopen(): Filename cannot be empty
[file] /vagrant/tell-my-city/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php
[line] 323

it seems that the uri expected in gruzzle is empty. Is it normal ? Thanks !

MaskedHawk commented 5 years ago

Any news about that ? :)