Bug report
Summary
Hello, I'm currently encountering a problem with Expo SDK 45 compatibilities.
Expo SDK 45 uses react-native-maps@0.30.x but unfortunately this version is bringing a lot of warning regarding types.
WARN ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
WARN ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
WARN ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
WARN ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
WARN ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
WARN ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
WARN ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
WARN ColorPropType will be removed from React Native. Migrate to ColorPropType exported from 'deprecated-react-native-prop-types'.
WARN ColorPropType will be removed from React Native. Migrate to ColorPropType exported from 'deprecated-react-native-prop-types'.
WARN ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
WARN ColorPropType will be removed from React Native. Migrate to ColorPropType exported from 'deprecated-react-native-prop-types'.
WARN ColorPropType will be removed from React Native. Migrate to ColorPropType exported from 'deprecated-react-native-prop-types'.
WARN EdgeInsetsPropType will be removed from React Native. Migrate to EdgeInsetsPropType exported from 'deprecated-react-native-prop-types'.
WARN EdgeInsetsPropType will be removed from React Native. Migrate to EdgeInsetsPropType exported from 'deprecated-react-native-prop-types'.
WARN PointPropType will be removed from React Native. Migrate to PointPropType exported from 'deprecated-react-native-prop-types'.
WARN ColorPropType will be removed from React Native. Migrate to ColorPropType exported from 'deprecated-react-native-prop-types'.
I have been trying to use the latest version of react-native-maps, and this types problem is fixed in this build. But unfortunately, Expo SDK45 beta was released a few days after react-native-maps@0.31, which means Expo team didn't have enough time to test compatibility.
It would be great if this commit could be ported back to 0.30 to prevent a lot of warning popping up.
Environment info
react-native: 0.68.2
Expo: SDK 45
Expo CLI: 5.4.4
react-native-maps: 0.30.1
Steps to reproduce
- Init a Expo project
- type in the console expo install react-native-maps
- change the App.js to the code example from the expo doc
- run
import * as React from 'react';
import MapView from 'react-native-maps';
import { StyleSheet, Text, View, Dimensions } from 'react-native';
export default function App() {
return (
<View style={styles.container}>
<MapView style={styles.map} />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
map: {
width: Dimensions.get('window').width,
height: Dimensions.get('window').height,
},
});
Bug report
Summary
Hello, I'm currently encountering a problem with Expo SDK 45 compatibilities.
Expo SDK 45 uses react-native-maps@0.30.x but unfortunately this version is bringing a lot of warning regarding types.
I have been trying to use the latest version of react-native-maps, and this types problem is fixed in this build. But unfortunately, Expo SDK45 beta was released a few days after react-native-maps@0.31, which means Expo team didn't have enough time to test compatibility.
It would be great if this commit could be ported back to 0.30 to prevent a lot of warning popping up.
Environment info
Steps to reproduce