TreeMama / iSeaTree-React-Prototype

Prototype for the iSeaTree (a mobile app which creates compatible data collection for the iTree project).
MIT No Attribution
14 stars 9 forks source link

v4+ Avatar is missing #548

Closed asimmonsAF closed 11 months ago

asimmonsAF commented 11 months ago

Repo'd on build version 89 on ios.

The avatar seems to be missing and not refreshing.

image0 (4)

asimmonsAF commented 11 months ago

Update looks like the API is down - tested with @bestw07 . https://www.dicebear.com/styles/bottts/#details

Left this message to the creator (on his Twitter page) Hi Pablo! Our small hackathon OS group has been a big fan of your robot api - but we noticed this week that it seems down. https://www.dicebear.com/styles/bottts/#details It is only returning right now the default image. https://api.dicebear.com/avatar.png . Do you know if it will go back up? We really loved it - as did the kids using it!

TreeMama commented 11 months ago

I noticed this seems to be offered. Maybe the original is now deprecated?

https://www.dicebear.com/styles/bottts-neutral/

FlorianKoerner commented 11 months ago

https://github.com/orgs/dicebear/discussions/374

bottts works, if you use the correct url. 😊

FlorianKoerner commented 11 months ago
function getAvatarUrl(seed: string): Promise<string> {
// return `https://avatars.dicebear.com/api/bottts/${seed}.png`
  return axios.get(`https://api.dicebear.com/7.x/bottts/svg?seed=${seed}`).then((res) => {
    return res.dat
  })
}
bestw07 commented 11 months ago

@FlorianKoerner , I implemented it already and tested with @TreeMama .

thx.

FlorianKoerner commented 11 months ago

I noticed this seems to be offered. Maybe the original is now deprecated?

https://www.dicebear.com/styles/bottts-neutral/

Just wanted to clarify that bottts is not deprecated. Both avatar styles (bottts and bottts-neutral) work 😊.

If you have any questions about dicebear feel free to contact me.