Code Monkey home page Code Monkey logo

Comments (13)

bramus avatar bramus commented on May 19, 2024 1

@8Ozymandias react-native-maps-directions has been tested with react-native-maps 0.16 and higher. That version of react-native-maps is compatible with react-native 0.47.0 or higher.

Do note that react-native-maps 0.20.1 is not compatible with the newly released react-native 0.54.0. A hotfix has landed in their master though (See react-native-maps/react-native-maps#2053)

from react-native-maps-directions.

nomoreboredom avatar nomoreboredom commented on May 19, 2024 1

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

from react-native-maps-directions.

SevdaCimen avatar SevdaCimen commented on May 19, 2024 1

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

yes thats works on me !thanks

from react-native-maps-directions.

bramus avatar bramus commented on May 19, 2024

I have an app in the Play Store with react-native-maps-directions and it runs just fine on Android …

Could you detail which versions of the following are you using:

  • Android
  • React Native
  • react-native-maps
  • react-native-maps-directions

from react-native-maps-directions.

8Ozymandias avatar 8Ozymandias commented on May 19, 2024

@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?

from react-native-maps-directions.

bramus avatar bramus commented on May 19, 2024

@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.

from react-native-maps-directions.

bramus avatar bramus commented on May 19, 2024

Closing due to inactivity / insufficient information.

Feel free to add some more info and I'll gladly reopen.

from react-native-maps-directions.

yogeshmoradiya121 avatar yogeshmoradiya121 commented on May 19, 2024

this issue happen in android kit kat 4.4.2 can anyone solve this??

from react-native-maps-directions.

MariamMobeen avatar MariamMobeen commented on May 19, 2024

I get this issue in Android version 7.1. Did you find the solution for it?

from react-native-maps-directions.

nomoreboredom avatar nomoreboredom commented on May 19, 2024

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

from react-native-maps-directions.

nomoreboredom avatar nomoreboredom commented on May 19, 2024

Which is occurring if edgePadding is used on onReady for fitToCoordinates function, with decimal values

from react-native-maps-directions.

bramus avatar bramus commented on May 19, 2024

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.

from react-native-maps-directions.

bramus avatar bramus commented on May 19, 2024

Looks like it’s a problem with react-native-maps itself then. As the error mentions: it requires an int somehwere, but receives a double.

from react-native-maps-directions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.