Giter VIP home page Giter VIP logo

courier-android's People

Contributors

chief-wizard avatar fahadaminshovon avatar mikemilla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

chief-wizard

courier-android's Issues

Notification body format documentation needs updating

Documentation is needed for what is supported on the android platform for firebase messages in https://github.com/trycourier/courier-android/blob/master/Docs/PushNotifications.md

In the ui there is options to add

  1. Text
  2. Image
  3. Action block
  4. Markdown block
  5. Quote block
  6. List

I could not locate any specific documentation on which of these are supported and how to handle the ones that do produce data. For example

  1. Sdk does not handle images
  2. Action block appears to have a tracking url provided but it is not clear how to follow that link
  3. Markdown block is sent but not handled
  4. Quote block is formatted as plain text
  5. List appears to be not sent in the data package

On the Android platform.

In the provided presentNotification these are all handled as text and some are not supported.
https://github.com/trycourier/courier-android/blob/master/android/src/main/java/com/courier/android/notifications/RemoteMessageExtensions.kt

In the data provided as shown by a debug log of the message data the
11-14 04:02:28.646 16777 16819 D Notifications: {body=This is a second text block
11-14 04:02:28.646 16777 16819 D Notifications: https://backend-production-librarybucket-1izigk5lryla9.s3.amazonaws.com/c3bb393e-c439-4e8e-83f2-fa2c794c0ba4/1699901479608_test-sum.png
11-14 04:02:28.646 16777 16819 D Notifications: Click Here: https://c3bb393e-c439-4e8e-83f2-fa2c794c0ba4-test.ct0.app/r/btn608y0hkmqabn3vc7f9k0kcm8k
11-14 04:02:28.646 16777 16819 D Notifications: ---
11-14 04:02:28.646 16777 16819 D Notifications: New to Markdown? Get started here.
11-14 04:02:28.646 16777 16819 D Notifications: "Cras lacinia elit fringilla consequat placerat...", title=This is a test message, trackingUrl=https://c3bb393e-c439-4e8e-83f2-fa2c794c0ba4-test.ct0.app/t/955c0xhzp1mn8dnmnevtf8esthaq}

Screenshots

Design:
image

Preview
image

Notification preview on phone
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.