Kumnaa
(Kumnaa 🇬🇧)
9 February 2019 15:42
1
Be careful when creating your own feed item. On my first attempt at creating my own feed item I sent up an SVG file (I assume this is the issue) as the image URL and now my app crashes at launch.
Currently waiting for a specialist to take a look to get access back
Kumnaa
(Kumnaa 🇬🇧)
9 February 2019 22:03
2
Turns out it wasn’t the SVG image, all attempts to create a feed item have crashed my app so far now.
Kumnaa
(Kumnaa 🇬🇧)
9 February 2019 22:08
3
Just sent this feed in and my Android app crashes:
{
“account_id”: “”,
“type”:“basic”,
“url”: “https://www.google.co.uk ”,
“params[title]”: “My custom item”,
“params[image_url]”: “https://i.imgur.com/sLM61uf.jpg ”,
“params[background_color]”: “#FCF1EE ”,
“params[body_color]”: “#FCF1EE ”,
“params[title_color]”: “#333 ”,
“params[body]”: “Some body text to display”
}
[edit] both through my own client as form data and through the playground as the above json
Kumnaa
(Kumnaa 🇬🇧)
9 February 2019 22:45
4
02-09 13:14:37.345 10149 22372 22372 E AndroidRuntime: FATAL EXCEPTION: main
02-09 13:14:37.345 10149 22372 22372 E AndroidRuntime: Process: co.uk.getmondo, PID: 22372
02-09 13:14:37.345 10149 22372 22372 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown color
Seems like it doesn’t like one of the colours, possibly the abbreviated #333
Kumnaa
(Kumnaa 🇬🇧)
9 February 2019 22:50
5
Yep, replaced #333 from the example with a 6 character hex code and it works
4 Likes