openmic.social is an uncensored community. You may encounter strong language, controversial opinions, and mature or NSFW material. You must be 18+ to browse. Illegal content is prohibited and removed on sight — please report it. By continuing, you accept that you may see content you personally disagree with.
This is exploiting an edge case behaviour of a security feature. At a programming level, this is bad code, and will break at some point, possibly in an ugly way. I also don’t like the idea of apps being sneaky and hiding behaviour from users.
I use Voyager, and there’s a button “share as screenshot / image”, which allows you to include a watermark, and shows you exactly what the end result will look like. Just do something like that instead?
It’s not bad code, it’s just code you don’t like. Unless there is a major overhaul with the security package they are using, that could cause issues, but that’s not likely going to happen because huge security changes mean legitimate implementations break as well. As for hiding it from users, this is an open source app. The code is literally available for anyone to view. If someone is unable to parse it out, that’s on them.
Did you actually look at how it’s implemented in the linked GitHub thread?
Absolute positioning layering hacks based on a quirk of how iOS currently handles child nodes of password fields when the dots would push content out of the parent node in screenshots. The filename of this feature is literally called “growth-hack”. I dunno what else to tell you man, but if you like it, I’m happy for you. But it’s clearly bad code.
As for the second part of your comment; normal users don’t look at source code. That argument means nothing in this context.
https://xkcd.com/1172/
Is what he’s referring to. If they’re not using the feature in the intended way, it’s likely to break in the future. Though the consequences of it breaking are what, they don’t brand your screenshots?
The consequences could be anything, that’s the problem with unintended usage of features. Could be an ugly black box drawn on screen. Could be nothing. Could something subtle like the follow button doesn’t work anymore because the invisible logo now blocks tap events.