X

xplooosive

Member

Last active 3 months ago

  1. 3 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.

  2. 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;
    ?>
  3. Tue Jul 30 11:55:07 2019

    Nope. Is not working. Same problem.

  4. 4 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.

  5. 5 months ago
    Thu Jun 13 07:53:30 2019

    Is not working. I had tried.

  6. 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.

  7. 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.

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