-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Get directions Android Physical device #19
Comments
I have an app in the Play Store with Could you detail which versions of the following are you using:
|
@bramus For that app you have in the app store that is able to make use of the react-native-maps-directions, what version of Android, React Native and react-native-maps and react-native-maps-directions did you utilize in order to make it work? |
@janvdt Can you provide some more info on this? Otherwise I'm going to close this issue as there's not enough info for me to work with. |
@8Ozymandias Do note that |
Closing due to inactivity / insufficient information. Feel free to add some more info and I'll gladly reopen. |
this issue happen in android kit kat 4.4.2 can anyone solve this?? |
I get this issue in Android version 7.1. Did you find the solution for it? |
react-native-maps version 0.20.1, react-native v 0.53.3, android api23, react-native-maps-directions 1.6 the same as above |
Which is occurring if edgePadding is used on onReady for fitToCoordinates function, with decimal values |
Thanks for the extra info @nomoreboredom. Can you provide a full example somewhere (a gist or repo) in which the issue can be reproduced? That way I can help pinpointing the source of the problem. |
Sorry man, private repo but I was getting Screen Width and was using sth like Dimensions.width / 30, and if this number results in a decimal number, edgePadding was throwing error. Applying Math.floor fixed the issue for me |
Looks like it’s a problem with |
yes thats works on me !thanks |
When trying to get directions between 2 points i seem to get a response from Google Directions API. But my console logs this error
--------- beginning of crash 02-16 12:07:46.385 10186-10186/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.Paxi, PID: 10186 com.facebook.react.bridge.UnexpectedNativeTypeException: Tried to read an int, but got a non-integral double: 20.571429
Any idea on this? this is when running on android physical device
The text was updated successfully, but these errors were encountered: