-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
TypeError: undefined is not an object (evaluating 'this.InnerNativeModule.installCoreFunctions') #46
Comments
HI @jamninetyfive Have you tried to re-run metro server with |
Hi @vbylen Thank you for the information! I know this library is definitely compatible with Expo (here is an example that it works together). Did you run |
@kirillzyusko hmm interesting, I just ran the We may need an expo config plugin for this. |
@vbylen and with To be fair I'm not very familiar with expo development (though I understand, it's a big part of Do you think it will be enough to add kind of warning to installation guide saying something like:
Or if I develop plugin - will it be automatically recognized by the expo? And you will not need any extra steps for installation? I don't know why, but I think I've heard somewhere, that you can develop "config plugins" only for verified packages. Maybe it's not truth - I'm glad to hear your opinion/feedback 🙂 |
@kirillzyusko ah, I see! No, I haven't been able to get it to work with that command. The expo dev client lets you work with native modules without having to build the /ios and /android directories. To make I hope that makes sense to you. I'm not sure I can help with the config plugin, maybe someone more motivated and knowledgeable can chime in. Although I don't think it would be that hard 😄 |
@vbylen thank you for the info. Asking from curiosity: how https://github.com/hirbod/keyboard-controller-statusbar-issue-repro app works without additional config setup? 🤔 This app runs on |
Try deleting /ios and /android folders, and run |
This library does not need a config plugin, since it just needs autolinking/autoinstalling, which will work from 0.60+ |
It happened if you don't link the library. I just re-discovered this bug. The weird stacktrace is because here I'm passing So now it will have more clean description of the problem and will suggest potential ways for resolving the issue. I'll close the issue when new release will be published. But feel free to re-open the issue if something is not clear or you reproduced the problem in a different scenario. |
Closed, because 1.3.0 has been published. |
Describe the bug
A clear and concise description of what the bug is.
1.Error: Requiring module "node_modules/react-native-keyboard-controller/src/index.ts", which threw an exception: TypeError: undefined is not an object (evaluating 'this.InnerNativeModule.installCoreFunctions')
2.undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[6], "react-native-keyboard-controller").KeyboardProvider')
Code snippet
Add your code snippet where error has been occurred.
Repo for reproducing
I would be highly appreciate if you can provide repository for reproducing your issue. It can significantly reduce the time for discovering and fixing the problem.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: