Redjan Ymeraj

Results 16 comments of Redjan Ymeraj
trafficstars

According to Doctrine, it is not possible to override an entity because it means that there will be 2 entities, one with the new fields and one without it. The...

You have already done that, there are superclasses for each entity in the Lexik\Bundle\TranslationBundle\Model folder. but still when i override one of the superclasses i need to explicitly declare the...

Can you paste an example of the code you are using?

When extracting the `$defaults` array here: ```php $defaults = array( "title" => "Title", "message" => "Message", "priority" => "normal", "device_token" => "", ); extract($defaults); ``` You are creating a `$message`...

Add it as a data attribute: ``` php $message ->setNotification(new Notification('some title', 'some body')) ->setData(['content_available' => 'value']) ; ` ```

By having the token you would like to unsubscribe from the topic you could do this: ```php use sngrl\PhpFirebaseCloudMessaging\Client; $server_key = '_YOUR_SERVER_KEY_'; $client = new Client(); $client->setApiKey($server_key); $client->injectGuzzleHttpClient(new \GuzzleHttp\Client()); $response...

Can you post here a sample of the code you use?

Does this happen with a single Token or also with other tokens on that Topic?

I'm trying to understand if this issue is with that particular token or with all tokens Firebase generates. Try it again with the second token and see what result do...

How are sending the notification? Can you paste your code? FCM documentation states that only Data Notifications are caught by the app when in background. Instead Message Notifications are only...