News for hackers. Stuff that matters.
Re:Apple Halted M2 Chip Production in January Amid 'Plummeti... by scarface74 on Monday April 03, 2023 @03:55PM (#35430328)
How many test devices do you need to make sure your app works well from a high end Samsung to a shitty low end $150 unsubsidized phone?

How slow is the emulator? How many Android versions do you have to test for because of the piss poor support for OS updates from Android manufacturers?

Re:Apple Halted M2 Chip Production in January Amid 'Plummeti... by realusername on Tuesday April 04, 2023 @02:22AM (#35435801)
I never had that on Android but I experienced that with Apple actually! I had to buy a second phone because the first one glitched and broke the developer mode, resetting it did not solve the issue. Apple support had no idea what caused the bug, this bug still exists now and is common on stackoverflow.

> How slow is the emulator? How many Android versions do you have to test for because of the piss poor support for OS updates from Android manufacturers?

I prefer to use my real device since it's not taking any screen space but the Android emulator is much much faster than the one from Apple, every click takes 3s on the Apple one, I don't know what they have done exactly to make it perform so badly.

I gave up on Apple because of the overall poor dev experience actually, I now consider the devices legacy and tell users who ask that I will only support Android to guarantee a better experience, I won't upload the app back.

Re:Apple Halted M2 Chip Production in January Amid 'Plummeti... by scarface74 on Tuesday April 04, 2023 @09:20AM (#35439156)
There isn’t a Mac emulator, when you run in the simulator on x86 based Macs, it compiled the code to x86 and links against native libraries.

Of course it doesn’t even do that on ARM based Macs.

If you’re not testing on a wide variety of devices for Android or OS’s, how complex is this app?

Re:Apple Halted M2 Chip Production in January Amid 'Plummeti... by realusername on Tuesday April 04, 2023 @12:09PM (#35441868)
> There isn’t a Mac emulator, when you run in the simulator on x86 based Macs, it compiled the code to x86 and links against native libraries.

I don't know how it works, is that the reason it's so slow?

> If you’re not testing on a wide variety of devices for Android or OS’s, how complex is this app?

around 30k lines of code I'd say, I only had minor problems due to screen sizes but that's pretty much the same everywhere.

Re:Apple Halted M2 Chip Production in January Amid 'Plummeti... by scarface74 on Tuesday April 04, 2023 @02:18PM (#35443852)
Why do I have a feeling that you aren’t that experienced with iOS or mobile? You are running into problems that most iOS developers don’t run into and you’re not having to experience supporting a fragmented Android ecosystem that most developers have to go through with complicated apps
Re:Apple Halted M2 Chip Production in January Amid 'Plummeti... by realusername on Wednesday April 05, 2023 @02:59AM (#35450363)
I've also used iOS for about a year and it was hands down the worst mobile experience I ever had. I don't criticize here though, it's a matter of personal taste unlike the dev experience.

> You are running into problems that most iOS developers don’t run into

Those problems are real and you have tons of threads online. The thing is, the iOS dev stack looks brittle, you're unlikely to have the different problems as somebody else and there's no way to debug it anyways.