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

iOS App Crash right after active state #35956

Closed
trilliwon opened this issue Jan 25, 2023 · 3 comments
Closed

iOS App Crash right after active state #35956

trilliwon opened this issue Jan 25, 2023 · 3 comments
Labels
Needs: Triage 🔍 Platform: iOS iOS applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@trilliwon
Copy link

Description

*** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘ModuleRegistry must be set to properly init dimensions.’

React/CoreModules/RCTDeviceInfo.mm:106

Version

0.68.2

Output of npx react-native info

info Fetching system and libraries information...
System:
OS: macOS 12.6
CPU: (10) arm64 Apple M1 Max
Memory: 986.00 MB / 64.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.17.1 - ~/.nvm/versions/node/v16.17.1/bin/node
Yarn: 3.2.1 - ~/.nodenv/shims/yarn
npm: 8.15.0 - ~/.nvm/versions/node/v16.17.1/bin/npm
Watchman: 2023.01.16.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.2 => 0.68.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
info React Native v0.71.1 is now available (your project is running on v0.68.2).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.71.1.
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.68.2.
info To upgrade, run "react-native upgrade".

Steps to reproduce

After passing certain time in background, open the app.
UIApplicationDidBecomeActiveNotification called and interfaceFrameDidChange method called.
App stops at

#3 0x00000001059d4b28 in RCTExportedDimensions(RCTModuleRegistry*) at /Users/xxxxxxxxx/node_modules/react-native/React/CoreModules/RCTDeviceInfo.mm:106

RCTAssert(false, @"ModuleRegistry must be set to properly init dimensions.");

Snack, code example, screenshot, or link to a repository

.

@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jul 24, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

@jonalocum
Copy link

I'm getting a lot of these. Any reason this was closed without resolution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 Platform: iOS iOS applications. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

3 participants