Push notifications expanded description content

  1. 4 years ago

    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.

  2. admin

    13 Jun 2019 Administrator

    You can scroll down the notification by finger gesture to expand the full contents of the notification.

  3. Is not working. I had tried.

  4. Right.

    It only works well with Firebase
    Whether Android 4.x or up to 8. x
    No scrolling of the notification possible with pushadmin

  5. admin

    30 Jul 2019 Administrator

    Issue fixed with version 3.4

  6. Nope. Is not working. Same problem.

  7. Edited 4 years ago by Andreas

    It does not work !
    Not with Android 4.4, 5.1, 6.0, 7.x, 8.1
    just as crap as before.

    -image-

  8. Still not like sending over firebase.
    Several lines are NOT displayed

  9. admin

    30 Jul 2019 Administrator

    We will be checking for confirmation of this issue again, but this was already resolved at our end, we will ensure to fix by rolling out a minor update in case not sorted out with initial v3.4.

  10. Edited 4 years ago by Comdag.Andreas

    I took 3.4.
    3.3 uninstalled, 3.4 reinstalled
    Push with Firebase OK
    Push with PushAdmin fail !

  11. admin

    30 Jul 2019 Administrator

    Did you tried without using AdMob and creating app with just push notifications, does expanded notification show?

  12. I do not use AdMob!

  13. 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;
    ?>
  14. click_action ?

    title Optional, string
    The title of the notification.

    body Optional, string
    The message text.

    icon Optional, string
    The URL to use for the notification icon.

    click_action Optional, String
    The action associated with a user clicks the notification.

    All URL values require HTTPS.

  15. I had tried with:

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

    And is not working.

 

or Sign Up to reply!