-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[v2] [Android] TestID for BottomTab: The key must be an application-specific resource id. #4812
Comments
Just update the version few minutes ago, this happens. |
+1, seems to happen also when not setting any testID for bottomTabs |
Happens to me as well with testIDs defined for tabs. |
cc @guyca |
I also encounter this issue on RNN version "^2.13.1". |
same here |
I am facing the same issue with version 2.14.0 as well. |
This is blocking few people to upgrade to the latest version of RNN. If anyone could make a PR, that'd be so helpful. |
Hey guys, I'm was unable to reproduce this crash in the playground app. Could anyone post a root declaration which crashes in the playground app? |
i discovered a fix for now. npm install --save [email protected] |
You can fix by comment this line: bottomTabs.setTag(i, tab.testId.get(null)); |
It's really weird, I just tried the same configuration on the playground app, but everything seems to be working fine. We must be missing something here. |
Issue Description
Android app crash on setting testID of BottomTab.
Android log:
Error line in code:
https://github.com/wix/react-native-navigation/blob/master/lib/android/app/src/main/java/com/reactnativenavigation/presentation/BottomTabPresenter.java#L57
This issue was introduce with this commit:
bfdd41f#diff-fe7845e05fe8da4f48d10c4da23403e5
Code Snippets
Environment
The text was updated successfully, but these errors were encountered: