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

Unimplemented component: <ModalHostView> #671

Closed
emelie opened this issue Oct 20, 2022 · 3 comments
Closed

Unimplemented component: <ModalHostView> #671

emelie opened this issue Oct 20, 2022 · 3 comments
Labels

Comments

@emelie
Copy link

emelie commented Oct 20, 2022

Environment

System:
OS: macOS 12.3.1
CPU: (10) arm64 Apple M1 Pro
Memory: 511.44 MB / 32.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
Yarn: Not Found
npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8193401
Xcode: 13.3/13E113 - /usr/bin/xcodebuild
Languages:
Java: 11.0.11 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.0 => 0.70.0
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Platforms

iOS

Versions

Description

I have been using this package previously without any issues. In my latest project, using React Native version 0.70.0, I am getting the following error:

Unimplemented component: <ModalHostView>

react-native-modal-datetime-picker-issue

I found this related issue facebook/react-native#33652 and it seems to be a problem with the new Architecture and the new renderer (Fabric).
Will react-native-modal-datetime-picker implement Fabric in the future?

Reproducible Demo

This error message can be seen by simply using DateTimePickerModal component.

@emelie emelie added the bug label Oct 20, 2022
@mMarcos208
Copy link

Not running in Android too.

the same issue.

Hermes and newArchEnabled enabled.

CMake Error at /home/marconi/Documentos/pocs/testingLibrariesnewArc/android/app/build/generated/rncli/src/main/jni/Android-rncli.cmake:6 (add_subdirectory):
add_subdirectory given source
"/home/marconi/Documentos/pocs/testingLibrariesnewArc/node_modules/@react-native-community/datetimepicker/android/build/generated/source/codegen/jni/"
which is not an existing directory.
Call Stack (most recent call first):
/home/marconi/Documentos/pocs/testingLibrariesnewArc/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:59 (include)
CMakeLists.txt:7 (include)

@BraveEvidence
Copy link

@mmazzarolo
Copy link
Owner

The one thing I'm missing here is: what changes should we make to react-native-modal-datetime-picker to support the new arch? We don't deal directly with native code in this project, that lives in @react-native-community/datetimepicker.

@emelie
Copy link
Author

emelie commented Jun 12, 2023

This was an issue with React Native. React Native's Modal component now supports the new architecture.

@emelie emelie closed this as completed Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants