fqborges / react-native-maps-osmdroid

React Native Mapview component for iOS + Android
MIT License
67 stars 22 forks source link

Deprecated "rnpm" #13

Closed sorinalinpavel closed 4 years ago

sorinalinpavel commented 4 years ago

warn The following packages use deprecated "rnpm" config that will stop working from next release:

This happens with your npm version.

You need to update this because it will stop all the users from building on android.

tanoabeleyra commented 4 years ago

Any progress on this?

sorinalinpavel commented 4 years ago

You can use their GitHub version until they will actually update the NPM version as well. In order to do that, in your package.json file, instead of the version you can put git+ git URL.

The final results should look like this:

"react-native-maps": "git+https://github.com/fqborges/react-native-maps-osmdroid.git"

Let me know if this is fixing your issue.

tanoabeleyra commented 4 years ago

@sorinalinpavel Thanks, I made my own fork, merged master of https://github.com/react-native-community/react-native-maps and it's working.

sorinalinpavel commented 4 years ago

Happy to hear that it worked.

I will leave this issue here because it might help others and well.

fqborges commented 4 years ago

I am upgrading this lib by merging the last version of react-native-maps.

There will be still a small issue regarding androidx, support lib and jetifier, but I am confident this issue will be fixed.

fqborges commented 4 years ago

Fixed on the last update.