News for hackers. Stuff that matters.
Re:Migrating Our Largest Mobile App to React Native by ageektrapped on Thursday January 05, 2023 @02:36PM (#34265305)
Former Shopify iOS dev here. I pushed SO HARD to get dark mode to be a thing we would do. It's table stakes, IMO, in 2020 and beyond, to support it. We'd get roasted on Twitter, LinkedIn, just about everywhere. HN Comments, even. :)

Got shut down at the highest level. Like, definitively. As in, please don't ask again.

I don't think you'll ever see it as long as Tobi is CEO.

Re:Migrating Our Largest Mobile App to React Native by kayson on Thursday January 05, 2023 @03:33PM (#34266135)
What was the rationale?
Re:Migrating Our Largest Mobile App to React Native by ageektrapped on Thursday January 05, 2023 @03:46PM (#34266296)
IIRC, something about opportunity cost or maintenance burden.
Re:Migrating Our Largest Mobile App to React Native by secretsatan on Thursday January 05, 2023 @04:49PM (#34267253)
There is virtually no maintenance burden if set up correctly, not shouting, i had to demonstrate the fact
Re:Migrating Our Largest Mobile App to React Native by nprateem on Thursday January 05, 2023 @03:55PM (#34266401)
I'm sure it's only a vocal minority that care
Re:Migrating Our Largest Mobile App to React Native by secretsatan on Thursday January 05, 2023 @04:47PM (#34267228)
It’s so ridiculously easy to support though, and i may be a minority, but none of our users ever complain about it being there
Re:Migrating Our Largest Mobile App to React Native by mrbombastic on Thursday January 05, 2023 @08:45PM (#34269870)
Ehh ridiculously easy seems like a stretch. You need to adapt all of your designs for dark mode and if you haven’t thought about it in the past or you don’t have a design system that is easily adaptable in the app you are going to be updating a lot of components and screens.
Re:Migrating Our Largest Mobile App to React Native by secretsatan on Friday January 06, 2023 @05:36AM (#34273158)
OK, yeah, you need to think about it first, but it should just be a case that all the colours in your design have alternates. It's mostly a case of differentiating between background and foreground colours. Then you put all your colours in the Assets, only ever used named colours, maybe hardcode some shortcuts, then you never think about it again.

There are a couple of rare cases here and there, eg custom drawing using Core Graphics, where using cgColor won't pick up the change, you have to grab the underlying colour again and force a redraw

Re:Migrating Our Largest Mobile App to React Native by darren_ on Thursday January 05, 2023 @09:32PM (#34270210)
I’ve seen arguments that dark mode is important for accessibility, which seems reasonable to me, and depending on the company might be a dealbreaker.
Re:Migrating Our Largest Mobile App to React Native by secretsatan on Thursday January 05, 2023 @04:45PM (#34267191)
Ugh, i got a bit of pushback on supporting dark mode in my native app, luckily i was starting from scratch and once you show you can pretty much do it by setting up assets correctly and that you can switch modes from the quick menu to test, noone even thinks about it anymore.

They were all coming from a non native mindset though