hello all, i try to retrieve data range like in the exemple :
the "\uf8ff" look like not used ..
did anyone of you get this error:
Error: Call to undefined function GuzzleHttp\Psr7\uri_for() in /myProjectPath/vendor/google/auth/src/OAuth2.php:1284
#0 /myProjectPath/vendor/google/auth/src/OAuth2.php(714): Google\Auth\OAuth2->coerceUri('https://oauth2....')
#1 /myProjectPath/vendor/google/auth/src/OAuth2.php(336): Google\Auth\OAuth2->setTokenCredentialUri('https://oauth2....')
#2 /myProjectPath/vendor/google/auth/src/Credentials/ServiceAccountCredentials.php(104): Google\Auth\OAuth2->construct(Array)
#3 /myProjectPath/vendor/kreait/firebase-php/src/Firebase/Factory.php(325): Google\Auth\Credentials\ServiceAccountCredentials->construct(Array, Array)
#4 /myProjectPath/vendor/kreait/firebase-php/src/Firebase/Factory.php(288): Kreait\Firebase\Factory->createGoogleAuthTokenMiddleware(Array)
#5 /myProjectPath/vendor/kreait/firebase-php/src/Firebase/Factory.php(229): Kreait\Firebase\Factory->createA
composer updatefix it?
composer installing on your local machine and then uploading everything to the target machine? if so, are both environments using the same PHP-version?
composer dumpautoloadhelped, but I would try it nonetheless ^^
composer why guzzlehttp/psr7tell you? Does it look like this?
why returns the same as you:
google/auth v1.4.0 requires guzzlehttp/psr7 (^1.2)
google/cloud-core v1.27.0 requires guzzlehttp/psr7 (^1.2)
guzzlehttp/guzzle 6.3.3 requires guzzlehttp/psr7 (^1.4)
Jerome, how do you think, may be there should be an empty constructor for CloudMessage? For now, your CloudMessage can be created without a configs/notification/data, but it MUST have a target. Why it is so? Is target more important than the content of a message? I'm asking because of the following sutation:
Let's suppose I have a class Pusher whose method push() accepts user ids as the first parameter and a CloudMessage as the second. Clients of this class should prepare a CloudMessage and pass it to the method along with user ids. Inside this method, all devices for those user ids are retrieved and target is change to the appropriate.
So, everyone who uses this method should pass some fake temporary target, which will eventually be replaced with the real one.
@sakhdevel Sorry for the late reply, somehow Gitter notifications don't seem to work for me at the moment...
Concerning the empty constructor: I'm working towards making all
__construct()s private so that I can keep them open for internal changes - at the moment, I can't really improve the SDK because I can't break the public constructors - so, I won't open up __construct(), but I can add a
public static function unconfigured(): self if this would help
tmpdirectory - depending on the system that might not work. In general you should look into https://symfony.com/doc/current/components/cache.html#available-cache-adapters and see if you find one adapter that's more fitting.
@/all I'm deprecating this Gitter channel - it served its purpose for a long time, but doesn't allow me to react as well to the messages as I would like to (partly due to the notifications not working for me).
I created a channel dedicated to this library on Discord and would like to invite you to join me there: https://discord.gg/nbgVfty
There, we can be in touch more easily and comfortably, and I would like the idea to not only talk about the SDK, but have an exchange about PHP and programming in general.
I changed the chat-links on the repo already, and I'll keep this channel open for a couple of weeks, but I would be really happy if you'd like to join me on Discord.