Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined (reading 'iosPermissions') #853

Closed
2 tasks done
munawarkholil opened this issue Mar 4, 2024 · 2 comments
Closed
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@munawarkholil
Copy link

Before submitting a new issue

  • I tested using the latest release of the library, as maybe the bug has been already fixed.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

error on start project

Library version

4.1.4

Environment info

expo-env-info 1.2.0 environment info:
    System:
      OS: macOS 14.3.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.17.0 - ~/.nvm/versions/node/v18.17.0/bin/node
      Yarn: 1.22.5 - ~/.yarn/bin/yarn
      npm: 8.9.0 - /opt/homebrew/bin/npm
      Watchman: 2023.12.04.00 - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.12.1 - /opt/homebrew/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, visionOS 1.0, watchOS 10.2
    IDEs:
      Xcode: 15.2/15C500b - /usr/bin/xcodebuild
    npmPackages:
      expo: ~50.0.6 => 50.0.8 
      react: 18.2.0 => 18.2.0 
      react-dom: 18.2.0 => 18.2.0 
      react-native: 0.73.4 => 0.73.4 
      react-native-web: ~0.19.6 => 0.19.10 
    npmGlobalPackages:
      eas-cli: 7.3.0
      expo-cli: 6.3.10
    Expo Workflow: managed

Steps to reproduce

error on start project

Reproducible sample code

app.json
"plugins": [
      [
        "react-native-permissions",
        {
          "iosPermissions": [
            "AppTrackingTransparency",
            "Bluetooth",
            "CalendarsWriteOnly",
            "Notifications",
            "SpeechRecognition"
          ]
        }
]

expo sdk 50
Cannot read properties of undefined (reading 'iosPermissions')
@munawarkholil munawarkholil added the bug Something isn't working label Mar 4, 2024
@edfungus
Copy link

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!

@zoontek
Copy link
Owner

zoontek commented Jun 11, 2024

@edfungus Yes it's fixed. Works perfectly on my side (Expo 51)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants