I develop apps with RN v0.61.5. I run in iOS simulator iPhone 11 (13.4.1). I working with device permission. I use react-native-permission
v2.1.4 (here the repo). Based on their documentation, for check and request to media library in iOS, I have to use PERMISSIONS.IOS.MEDIA_LIBRARY
. Also, this is what MEDIA_LIBRARY
is based on apple developer doc. But, when I check with check
API like:
const result = await check(PERMISSIONS.IOS.MEDIA_LIBRARY)
it return unavailable
. I haven't check this in real device since I do not have one. Is it only available in real device or is there any way to make it available in iOS simulator? So I can do testing with simulator only. Thanks.