Commit 3769a378 authored by wind.wang's avatar wind.wang

fix android crash

parent 34346382
......@@ -138,11 +138,11 @@ export default class Marker extends Component {
onInfoWindowPress: PropTypes.func
};
componentDidUpdate() {
if (this.icon && Platform.OS === "android") {
setTimeout(() => this.sendCommand("update"), 0);
}
}
// componentDidUpdate() {
// if (this.icon && Platform.OS === "android") {
// setTimeout(() => this.sendCommand("update"), 0);
// }
// }
name = "AMapMarker";
icon = null;
......
This diff is collapsed.
......@@ -10,7 +10,7 @@
"name": "@hisense/react-native-amap-sdk",
"license": "MIT",
"author": "Wind.Wang",
"version": "1.0.3",
"version": "1.0.5",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment