Skip to content
This repository was archived by the owner on Jan 5, 2022. It is now read-only.

Error on require react-native-iphone-x-helper "undefined is not an object" #205

Open
RobertoNegro opened this issue Nov 18, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@RobertoNegro
Copy link

RobertoNegro commented Nov 18, 2021

Information

  • react-native version: 0.66.3
  • react-navigation version: 6.0.6
  • react-navigation-collapsible version: 6.3.0
  • Platform (iOS/Android): iOS
  • react-native init or Expo: init

Detail

On iOS (iPhone 13 simulator), when I open the screen containing the collapsible header, I'm obtaining this error:

TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[2], "react-native-iphone-x-helper").isIphoneX')

I've also tried to install react-native-iphone-x-helper on my side, but the problem persists. The library was perfectly working before updating the libraries (before: react-native 0.63.3, navigation 5.8.7, collapsible 5.8.1).

EDIT: I've already executed pod update and pod install in my iOS folder, also tried with yarn install --force.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant