Git Product home page Git Product logo

Comments (5)

Jei avatar Jei commented on June 16, 2024

Could you post the payload of the notification you are trying to send?

from ti.goosh.

blantonl avatar blantonl commented on June 16, 2024

I'm sending the following

{
"GCM": "{ \"data\": { \"title\": \"My Alert\",\"alert\": \"The Alert\",\"sound\": \"modat\", \"vibrate\": true, \"iconb\": \"bcfy\", \"force_show_in_foreground\": true} }"
}

from ti.goosh.

Jei avatar Jei commented on June 16, 2024

That "GCM" top level doesn't seem right.
Could you try this test with your API KEY and device ID and see if the notification is received correctly?

from ti.goosh.

blantonl avatar blantonl commented on June 16, 2024

That example works.

I was using Amazon SNS to send a legacy GCM push.. supposed to be backwards compatible with FCM but I guess ti.goosh uses a custom payload.

from ti.goosh.

AlvinAshuSebu avatar AlvinAshuSebu commented on June 16, 2024

Hi,

Do we have any update on this. I have added the notificationChannel and still receive no push in background and also when I receive push in foreground, the payload returns null.

PUSH received: {"c.i": "null"}

from ti.goosh.

Related Issues (20)

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.