thegamenicorus / react-native-phone-input

Phone input box for React Native
https://www.npmjs.com/package/react-native-phone-input
MIT License
395 stars 450 forks source link

NPM Package is wrong code, correct version number 0.1.9 #14

Closed brianhiss closed 7 years ago

brianhiss commented 7 years ago

I got a prop-types warning on React Native 0.49.1, when I dug further, the react-native-phone-input library was throwing the error.

npm and yarn give the same issue. It says it's installed version 0.1.9, but when I look in the code, it's not consistent with the Git Repo here, where prop-types is fixed.

If you look at the package NPM/Yarn downloads, you can see the code is outdated: https://registry.npmjs.org/react-native-phone-input/-/react-native-phone-input-0.1.9.tgz

yarn add https://github.com/thegamenicorus/react-native-phone-input.git fixes my issue, but wanted to let you know.

albinekb commented 7 years ago

yarn add https://github.com/thegamenicorus/react-native-phone-input.git#c73d529bd71f63fab6e5d3442ba1571e9bb02749 is better, that locks it to the current latest commit in master 👍

thegamenicorus commented 7 years ago

Hi, sorry for any inconvenience. v 0.1.10 is already on npm.

albinekb commented 7 years ago

no problem 👍 thanks a lot ❤️ @thegamenicorus