Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon displays on Emulator but not on Device? #100

Open
mark22 opened this issue Feb 18, 2018 · 3 comments
Open

Icon displays on Emulator but not on Device? #100

mark22 opened this issue Feb 18, 2018 · 3 comments

Comments

@mark22
Copy link

mark22 commented Feb 18, 2018

Has anyone noticed anything like this? I have the proper notification icon.png setup in all the drawable-* folders.

Using the Genymotion emulator the notifications come through with my custom small white icon beautifully. But on the device its still using the generic white circle

Has anyone seen anything like this and any ideas?

Thanks!

@progress44
Copy link
Contributor

Hey @mark22, are you still experiencing this issue?

@mark22
Copy link
Author

mark22 commented May 13, 2018

@progress44 Yup still happening...

@Abdelalim-dev
Copy link

I remember I had a similar issue on certain devices and it was related to the payload sent by the server.
Check if you're sending data correctly.
@mark22 This is the format that worked for me on Android:

"data" => [
    "data" => [
        "title" => $title["en"],
        "alert" => $body["en"],
        "big_text" => $body["en"],
        "sound" => "default",
        "color" => "#FF2A5A"
        "customField" => "cusom value"
        //...
    ]
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants