micahlt / offsides

🏈 An Android app for Sidechat/YikYak
http://offsides.micahlindley.com
17 stars 0 forks source link

UserAvatar cannot be rendered inside of new_follower ActivityItems #13

Open Monstergamester opened 5 months ago

Monstergamester commented 5 months ago

Whenever I try to view my profile it just brings me to this screen when it loads Screenshot_20240601_160919_Offsides

Monstergamester commented 5 months ago

Its now just loading my profile and then crashing. Still not sure how to fix

micahlt commented 5 months ago

Would you be willing to take a screen recording of the issue for me? I'd love to get this working for you. Thanks!

micahlt commented 5 months ago

Following up on this, is this still happening for you?

Monstergamester commented 5 months ago

Oh sorry I didnt see this. The issue somehow fixed itself Im not sure how though.

micahlt commented 5 months ago

Gotcha! Good to know. Closing this for now, but if it happens again please let me know and I'll take another look!

Monstergamester commented 5 months ago

Its happening again, but Im not sure how long it'll last this time. I'll make sure to keep you updated

micahlt commented 5 months ago

If you are able to take a screen recording of the issue that would be amazing!

Monstergamester commented 5 months ago

Here I've got one now

Uploading Screen_Recording_20240611_103231_Offsides.mp4…

micahlt commented 5 months ago

Looks like you didn't let it upload all the way 😄

Monstergamester commented 5 months ago

Oh sorry I dont use github a lot thanks for letting me know

https://github.com/micahlt/offsides/assets/64338187/9c5fa7f9-ac3b-4ae1-a44c-b18a983dc6dc

micahlt commented 5 months ago

Oh sorry I dont use github a lot thanks for letting me know

No problem! Thanks for the screen recording, I'll take a look and see if I can get a fix out for you :)

Monstergamester commented 4 months ago

Its now just crashing whenever I click on my profile

https://github.com/micahlt/offsides/assets/64338187/75ada616-19f8-4325-9038-6bc827f455e5

micahlt commented 4 months ago

Okay, would you please download the latest release and try that? I tried to implement some better error handling for the profile page.

Monstergamester commented 4 months ago

Hmmm that didnt seem to work. Its still crashing. Im starting to think it may be an error with my phone

https://github.com/micahlt/offsides/assets/64338187/782cd637-257b-46e6-a834-7165a705fb46

micahlt commented 4 months ago

I released another version! Please try it here. This version should report any errors directly to me so I can look at the stack trace and debug it myself.

micahlt commented 4 months ago

Okay, I got the logs! I'll let you know as soon as I have a fix.

Monstergamester commented 4 months ago

Yep I just downloaded it. Should I keep repeating the crash so that it reports to you?

Monstergamester commented 4 months ago

Thank you so much :)

micahlt commented 4 months ago

Okay, give the latest update a shot!

Monstergamester commented 4 months ago

YOOOO THANK YOU SO MUCH IT WORKED

micahlt commented 4 months ago

Wonderful!

For my own reference: This is caused by the fact that I'm trying to render a UserAvatar component in an ActivityItem of type new_follower. Until we know what the new_follower schema looks like, we cannot render that component without a crash.

Monstergamester commented 4 months ago

Hopefully you can get replying to replies and image uploading working soon because Im loving the app otherwise

micahlt commented 4 months ago

Yep! The issue is that I don't own an iPhone to reverse engineer the API, so the only time I can really figure out new features is when I see my girlfriend who does have an iPhone. Next time I see her I'll get as much endpoint data as I can to implement those features :)

Polls are also coming soon!