add deprecated-react-native-prop-types and changing
import {ViewPropTypes} from 'react-native'
to
import {ViewPropTypes} from 'deprecated-react-native-prop-types',
android/build.gradle
changing from
dependencies {provided "com.facebook.react:react-native:+"}
to
dependencies {implementation "com.facebook.react:react-native:+"}
add deprecated-react-native-prop-types and changing
import {ViewPropTypes} from 'react-native'
toimport {ViewPropTypes} from 'deprecated-react-native-prop-types',
android/build.gradle changing from
dependencies {
provided "com.facebook.react:react-native:+"
}
todependencies {
implementation "com.facebook.react:react-native:+"
}