Closed munawarkholil closed 8 months ago
Is this fixed? I don't see any commits/PRs linked to this. Maybe I'm missing something but I'm getting this issue in version 4.1.5
, Expo 51
, RN 0.74.2
Let me know if I should open a new issue, thanks!
@edfungus Yes it's fixed. Works perfectly on my side (Expo 51)
I use "expo": "~51.0.22", "react-native-permissions": "^4.1.5", "react-native": "0.74.3" and i still get this issue, TypeError: Cannot read properties of undefined (reading 'iosPermissions')
Same problem here, any solutions?
same problem is it fixed ?
I ran into this as well. My problem was I wasn't wrapping the plugin entry in an array. For example, your plugins list should look like this:
"plugins": [
"expo-router",
"expo-dev-client",
["react-native-permissions", {
"iosPermissions": [
"Camera",
"Microphone"
]
}],
...
],
...
Where I was incorrectly doing this:
"plugins": [
"expo-router",
"expo-dev-client",
"react-native-permissions",
{
"iosPermissions": [
"Camera",
"Microphone"
]
},
...
],
...
Which caused the same error Cannot read properties of undefined (reading 'iosPermissions')
.
I haven't tested it actually works but expo does resolve the plugin correctly now.
Before submitting a new issue
Bug summary
error on start project
Library version
4.1.4
Environment info
Steps to reproduce
error on start project
Reproducible sample code