Push notifications expanded description content

  1. 5 months 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

    Jun 13 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. 3 months ago
    Deleted 3 months ago by Comdag.Andreas
  5. Right.

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

  6. admin

    Jul 30 Administrator

    Issue fixed with version 3.4

  7. Nope. Is not working. Same problem.

  8. Edited 3 months 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-

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

  10. admin

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

  11. Edited 3 months ago by Comdag.Andreas

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

  12. admin

    Jul 30 Administrator

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

  13. I do not use AdMob!

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

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