-
Notifications
You must be signed in to change notification settings - Fork 45
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
[Android only] TypeError : expected dynamic type 'double' but had type 'string'. #9
Comments
This problem is still not fixed. For anyone who is still interested, what you can do for now is comment the line that says useNativeDriver: true @ line 91 inside the popover.js file. Or if you don't want to do that, you can remove the rotate or scale fields (one of them will do) from the transform array at line 125. I think the problem is with the rotate transform for the triangle. |
What version of RN are you using? |
@doomsower I'm using 0.50 and run into this problem on android. |
Underlying issue is here: facebook/react-native#14161 The workarounds that @alewiahmed talked about make sense and I've tested that they work. |
PR that sidesteps the problem for now: #10 |
@doomsower I am using RN version 0.44.0 and facing this problem in android only. Can you suggest something to avoid it ? |
@ershubhamgarg Try to use version |
@alewiahmed Thanks. it worked by removing scale field from transform array. |
I try the differents solution but nothing work for me :( |
@doomsower In iOS, popover is working fine but in android simulator, it shows error : expected dynamic type 'double' but had type 'string'. I have also tested it on device but the error is same.
The text was updated successfully, but these errors were encountered: