daneden / Zeitgeist

👁 An iOS app for keeping an eye on your Vercel deployments
http://zeitgeist.daneden.me
Apache License 2.0
196 stars 8 forks source link

Issue with `decodingError` in newly-added account #53

Closed daneden closed 3 years ago

daneden commented 3 years ago

Hello,

I see a problem with my account: the list item label on the first page writes, “An unknown error occured: decodingError”. I tried to remove the account and add it again, but I still see the problem.

Everything operates normally, and I can still get inside the account and see the list of commits and Vercel deployments. Still, it seems connected to another problem: I don’t get push notifications, not a single one. For some reason, Zeitgeist is not registered in a list of apps in System Settings / Notifications.

Is this helpful? I want to send you some screenshots and logs, but this form doesn’t allow me to.

Thanks, Vaclav

Submitted by Vaclav Vancura (vaclav@vancura.org) from Zeitgeist 2.0

daneden commented 3 years ago

Possibly related: the User struct has a non-optional avatar: String property, whereas the more generic Account struct has an optional avatar: String? property.

https://github.com/daneden/zeitgeist/blob/8236db6ac7e920d8f4711b09a79e2afc97cca415/iOS/Networking/AccountLoader.swift#L18

daneden commented 3 years ago

Closed in v2.0.1! This was indeed caused by the non-optional avatar.