-
Notifications
You must be signed in to change notification settings - Fork 43
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
Trying to resolve view with tag 1978 which doesn't exist at com.facebook.react.uimanager.RNCustomKeyboardModule.getEdiyById (RNCustomKeyboardModule.java:48) #20
Comments
I'm getting the same error.
For now I'm avoiding the crash with a try catch in android (I'm not building for iOs), even though this won't activate the custom keyboard. private ReactEditText getEditById(int id) {
try {
UIViewOperationQueue uii = this.getReactApplicationContext().getNativeModule(UIManagerModule.class).getUIImplementation().getUIViewOperationQueue();
return (ReactEditText) uii.getNativeViewHierarchyManager().resolveView(id);
} catch(IllegalViewOperationException e) {
return null;
}
} |
@singhlovey can you please paste the full error stack? |
@markainick I am not getting any crash in debug mode. After testing release apk on multiple device, I got the above in one of the devices. I have only this screen shot for now. Thanks |
@markainick Please help for the above issue. I am stuck. Thanks |
I don't really have a solution. For now I'm getting around it by manually installing the custom keyboard when i know for certain that the custom input is on screen. |
@markainick Can you please provide me sample e.g of how you are installing the custom keyboard when needed. Thanks |
@markainick we've been experiencing this issue as well, but it's been inconsistent. As you can see in my PR, I've pushed what you did above a step further, and kept looping until it finds the input. This seems to cause apps to hang in some cases, that we haven't quite identified yet. (see the comments on the PR thread) |
@laurentS I added the same method (with name |
@markainick Can you please provide sample example of the above you did to get more clarification. It would be really helpful. Thanks |
Hi,
I am getting very strange crash. When I opened keyboard on text input on any of the pages of my app and switch to another page, my app get crashed.
I have attached one screen shot of bug. Please help!!
Thanks
The text was updated successfully, but these errors were encountered: