ti.goosh icon indicating copy to clipboard operation
ti.goosh copied to clipboard

Icon displays on Emulator but not on Device?

Open mark22 opened this issue 6 years ago • 3 comments

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!

mark22 avatar Feb 18 '18 03:02 mark22

Hey @mark22, are you still experiencing this issue?

progress44 avatar Apr 10 '18 13:04 progress44

@progress44 Yup still happening...

mark22 avatar May 13 '18 23:05 mark22

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"
        //...
    ]
]

Abdelalim-dev avatar Dec 11 '18 09:12 Abdelalim-dev