Memmy-App / memmy

An Apollo inspired open-source iOS and Android client for Lemmy built with React-Native. Find us on the App Store and Google Play!
GNU Affero General Public License v3.0
547 stars 58 forks source link

Viewing a post turns the screen black #1017

Closed danielwis closed 10 months ago

danielwis commented 10 months ago

Check for open issues

Minimal reproducible example

I just logged in, clicked on a post, and after a ~1s delay the screen turns black. I can’t seem to fix it by swiping or anything either.

Expected Behavior

The screen should not turn black.

Version

1.0 (20)

App Store or TestFlight?

TestFlight

iOS Version

16.x

Device

iPhone X

danielwis commented 10 months ago

Video of it happening, as I couldn’t find the button to add media while opening the issue: https://github.com/Memmy-App/memmy/assets/46249158/b3df55d2-7613-4be3-817c-dc909305f677

Edit: I'm really grateful for all the effort you guys put in and will definitely keep using the app, just want to do my due diligence and report any bugs I come across :)

gkasdorf commented 10 months ago

Was just about to post as "fixed now" thinking this was an old one, looks new. I'll see if I can figure anything out to fix that. Cheers.

gkasdorf commented 10 months ago

@danielwis Did this resolve itself or were you never able to use the app?

danielwis commented 10 months ago

Nope, still happening on 1.0 (35) but I'm able to use the app for everything else.

Did some basic troubleshooting just now and it seems to only happen for posts with comments. Not knowledgeable enough in React to contribute anything substantial, I'm afraid, but here are a few scenarios and their outcomes in case they help with debugging ("viewing" meaning "tapping on the post as shown in the video to see comments etc."):

gkasdorf commented 10 months ago

Huh...definitely cannnot reproduce that myself, so that's weird. Give me like...10 minutes here to setup that log file sending and let's see if there is something in there that can point us in the right direction.

danielwis commented 10 months ago

Sure, let me know if you need me to do anything.

gkasdorf commented 10 months ago

@danielwis Alright, I'm building and submitting now. Should be ~10 minutes. Once you see the build, can you please do the following:

  1. Go to the settings tab and press "Clear Debug Log" at the bottom of the main settings screen
  2. Restart the app
  3. Do whatever it is that's causing issues
  4. You may or may not see a sad face screen now (I think you were being shown just the blank error screen I had there before). If you do, simply press "Email Debug Log" and I will receive it. If you don't see that screen, restart the app again and head to the main settings screen and press "Email Debug Log".

Also:

  1. What instance are you on?
  2. What version of Lemmy is that instance running (backend)?

Thanks!

danielwis commented 10 months ago

Also:

  1. What instance are you on?
  2. What version of Lemmy is that instance running (backend)?

I'm on lemmy.world, BE seems to be 0.18.5.

Thanks!

Right back at ya!

gkasdorf commented 10 months ago

@danielwis Ok, should be available now. Let me know once you've sent that debug log over and I'll take a peek.

danielwis commented 10 months ago

Yup, just came in! I've sent the log, hopefully you can figure it out from there.

Edit: just realised my default outgoing email account was set to one I use for spam. Sorry about that... :)

gkasdorf commented 10 months ago

What are your swipe options, particularly for the right options?

gkasdorf commented 10 months ago

Ah, just repro'd it. Give me a moment!

gkasdorf commented 10 months ago

@danielwis Fixed now and building. Thanks! https://github.com/Memmy-App/memmy/commit/76c301527303eaaf02c357d3797b30dced70d240

danielwis commented 10 months ago

Fantastic, I just updated + tested it and everything works perfectly. Huge thanks for your quick response times and dedication!