iou90 / react-native-autoheight-webview

An auto height webview for React Native
ISC License
492 stars 162 forks source link

index.js: import prop types from deprecated package #229

Closed stevekuznetsov closed 2 years ago

stevekuznetsov commented 2 years ago

package-lock.json: update to new version

This commit was generated by:

rm package-lock.json npm install

Without this commit, I was getting errors downloading packages from nexus.bybutter.com repositories. I'm not clear why those were the resolved sources in the past, but they do not seem to be required.

Signed-off-by: Steve Kuznetsov skuznets@redhat.com


index.js: import prop types from deprecated package

This new import path is required for newer versions of React Native.

Signed-off-by: Steve Kuznetsov skuznets@redhat.com


cc @iou90 Fixes https://github.com/iou90/react-native-autoheight-webview/issues/228

ThirupathaiahR commented 2 years ago

Please import viewPropTypes from from deprecated-react-native-prop-types instead of react-native. Please do it as early as possible.

iou90 commented 2 years ago

Please import viewPropTypes from from deprecated-react-native-prop-types instead of react-native. Please do it as early as possible.

Sorry for the late reply >.< It should be fixed on v1.6.2. (https://github.com/iou90/react-native-autoheight-webview/releases/tag/v1.6.2)