yutasuzuki/react-native-record-screen

Asking the permission for recording everytime

Opened this issue · 6 comments

Hello there @yutasuzuki,

The library is asking the permission for recording everytime when the recording started. When the permission is granted why every time it is asking ?

Is there any workaround for this ?

On Android, it's possible on older devices by selecting "Don't show this again" but it was removed in 29. On 29> it's not possible.

@TirthrajRao Did you ever find a work around for this? Running into same issue on an expo dev-client

@TirthrajRao Did you ever find a work around for this? Running into same issue on an expo dev-client

There is no "work around". In Android 29> we have to use a foreground service, a foreground service show's this notification.

On API 33, users can disable the notification by swiping over the notification, see documentation here - https://developer.android.com/guide/components/foreground-services#user-dismiss-notification

@HBiSoft This is happening on IOS currently

@HBiSoft I did a full build (so not a dev client this time) through EAS for IOS hoping it was just the dev client asking for permissions each time but looks like it is still the case. Any insight on how to make it work for an expo app?

Any progress on this? Is it expected behavior or a bug? I'm having the same issue on RN iOS (not expo).