code-matt / react-native-replaykit

A React Native module to access ReplayKit screen recording framework on iOS
13 stars 14 forks source link

Error: Recording interrupted by multitasking and content resizing #9

Open code-matt opened 5 years ago

code-matt commented 5 years ago

Error: Recording interrupted by multitasking and content resizing https://forums.developer.apple.com/thread/109696 and many others like it

Restarting the device solves this issue but it will quickly return unfortunately

This is out of developers hands, there is a bad bug with ReplayKit where really any UI change will cause this and sometimes even the permission dialog itself. Other things like a push notification alert or reminder or even rerendering in RN too soon can cause this.

Good news is, I tried iOS13 beta 3 on another device and upgraded to RN 0.60 and it seems to be gone. I will update the package when iOS13 releases

progmatical commented 5 years ago

Do you have any experience with ASScreenRecorder to use it instead?

code-matt commented 5 years ago

I don't, my plan now is to wait for iOS 13 which is about a month away. It is fixed on record_inapp_audio_merge branch, use xcode 11 beta 3 if you try.

I want to stick with ReplayKit as I am going to try adding the broadcast utility once multitasking issue is fixed by apple.

progmatical commented 4 years ago

Hi, is this issue resolved with ios 13? Thanks