X

xplooosive

Member

Last active 2 months ago

  1. 2 months ago
    Mon Mar 23 05:23:00 2020
    X xplooosive started the conversation Compose notification from firebase.

    Hello,

    I want to send some notifications from firebase panel.

    But i dont know how to set custom_data to open specified page from my app.

    -image-

    Thanks.

  2. 9 months ago
    Wed Jul 31 09:38:59 2019

    I had tried with:

    $msg             = array(
        
        'body' => 'test',
        'title' => 'Title Of Notification',
        'sound' => 'default',
        'click_action' => 'https://www.exemple.com'
        
    );

    And is not working.

  3. Wed Jul 31 06:20:49 2019

    With this code i can send notifications and show correct body text. But anybody know how can i put a target url for this code?

    <?php
    
    define('API_ACCESS_KEY', 'xxxx');
    $registrationIds = 'xxxx';
    $msg             = array(
        
        'body' => 'test',
        'title' => 'Title Of Notification',
        'sound' => 'default'
        
    );
    $fields          = array(
        'to' => $registrationIds,
        'notification' => $msg,
        'priority' => 'high'
    );
    
    $headers = array(
        'Authorization: key=' . API_ACCESS_KEY,
        'Content-Type: application/json'
    );
    $ch      = curl_init();
    curl_setopt($ch, CURLOPT_URL, 'https://fcm.googleapis.com/fcm/send');
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($fields));
    $result = curl_exec($ch);
    curl_close($ch);
    echo $result;
    ?>
  4. 10 months ago
    Tue Jul 30 11:55:07 2019

    Nope. Is not working. Same problem.

  5. 11 months ago
    Sat Jun 15 13:51:29 2019
    X xplooosive posted in Suggestions for Update v3.4.

    Deep link.
    Api to show/hide ad banner.

  6. Thu Jun 13 07:53:30 2019

    Is not working. I had tried.

  7. Thu Jun 13 07:41:31 2019
    X xplooosive started the conversation Push notifications expanded description content.

    Hello.

    I have a question about push notification.

    Printscreen with sending notification via your api.
    -image-

    And printscreen with sending notification via firebase api.
    -image-

    I want to see all the text from notification. How can i do this with your api?

    Thank you.

  8. Fri Jun 7 05:17:31 2019
    X xplooosive started the conversation Display Banner Ad on Specific Pages.

    Hello,

    How can i show banner an only on specified pages?

    Thank you.

  9. Fri Jun 7 05:15:23 2019
    X xplooosive joined the forum.