App name displayed in ReplayKit permissions

205 Views Asked by At

I'm working on an app which records the user's screen using ReplayKit. When the permissions modal pops up, it displays the wrong app name.

So, if my app were named, "foo", for example, I'd want the persmissions dialog to display: Allow screen recording in "Foo"? But it doesn't use the string "Foo" -- it says: Allow screen recording in "PhotoManager"?

Context: The build process is pretty complicated, so the string, "PhotoManager", is probably coming from somewhere I haven't identified. But it's not the name of the app, it's not the bundle ID, and doesn't appear to be in any searchable text files. I'm guessing "PhotoManager" was the name of a class someone made at some point (it's a large project); but, I can't seem to figure out how that string is finding its way into the persmissions modal.

Any ideas?

0

There are 0 best solutions below