Replay Kit Permissions?

Hi,

I’m just getting into how to use replayKit and most of it seems straightforward. There are a couple of details I couldn’t find documentation on though.

Here’s the issue, I’m recording short clips, and when I record for the first time a permissions dialog pops up, this creates a bit of lag and once the user clicks ok to record, it ends up missing the first second or so of the recording.

  1. Is there a way to ask for permission before recording?
  2. is there a way to check the permission state?
  3. When the permission dialog is displayed, what state is the game in? Is unscaledTime still running?
  4. Has anyone else dealt with this issue?

Thanks everyone!!

Hi @jimmya , @charlierby . Do you have any thoughts on this?

Thanks!!

That should only happen only the first time you load the app?

Thanks for the reply @jimmya . I found an interesting solution, I start the recording, then wait for the recording state to become true before triggering the playback events. This seems to have worked up until ios 11. Now replayKit doesnt seem to work reliably at all.

Not sure if this is now a unity issue or an apple one.

I experience the same. See here more people with the same problems: Replay Kit in iOS 11