I’m not well versed enough in Android app development to answer whether or not one userspace app can even access the screen contents of another app without root or special permissions
This requires special permissions and explicit user approval every time an app starts screen recording, plus it shows a red notification whenever screen recording is active.
I think you could get by with a one-time user approval as a device administration or assistive app permission, which you’d need to manually grant in Settings. Unlikely anyone would do that by accident.
That might be different for system-level apps. I haven’t bought a carrier-branded phone in 10+ years so I’m not sure what that’s like these days.
underline960@sh.itjust.works 5 days ago
For quality assurance reasons, we’ve defined ‘within the app’ as ‘everything on the phone while our app is running in the background’.
disguy_ovahea@lemmy.world 5 days ago
The API for iOS screen recording is sandboxed to the app itself. There is currently no system-wide screen recording API for developers.
kalleboo@lemmy.world 4 days ago
iOS does have an API for apps to record these screen these days through Broadcast Extensions, but it has to be user-initiated through the control center screen recording toggle (where they then get to pick what app to record the screen to instead of just saving as a video), it wouldn’t do that people think the T-Mobile app is doing
disguy_ovahea@lemmy.world 4 days ago
I see it now. Yes, broadcasting is available, but with the limitations you’ve specified. Thanks for the update/correction!
pixely@lemmy.world 5 days ago
That’s not possible without a permission prompt (on both iOS and android). So there’s no changing the goalposts like you suggest, without the user giving explicit permission.
Lyrl@lemm.ee 4 days ago
It’s not possible at all, no permission exists that lets an Android app record something in another app. Much to the sadness of the mobile Hearthstone community that would love collection managers and stat tracking apps like what PC and Mac have.
refurbishedrefurbisher@lemmy.sdf.org 4 days ago
Yeah, it’s possible with something like Shizuku. scrcpy works via adb, so something similar could work on-device.