react-native-baidu-map icon indicating copy to clipboard operation
react-native-baidu-map copied to clipboard

android机型

Open zhengyanGit opened this issue 1 year ago • 1 comments

版本环境 react: 17.0.2 => 17.0.2 react-native: 0.66.4 => 0.66.4 react-native-baidu-map => 1.0.37

错误代码 <MapView showsUserLocation={true} locationData={location} width={width} height={400} zoom={18} trafficEnabled={true} zoomControlsVisible={true} mapType={MapTypes.NORMAL} center={center} onMapPoiClick={(e) => { this.getCurrentPosition({ ...e }); }} onMarkerClick={(e) => { console.log('click-22', e); this.getCurrentPosition({ ...e }); }} > <Cluster> <Marker location={{ longitude: 113, latitude: 22 }} /> </Cluster> </MapView>

在华为p50下 只要添加 <Marker location={{ longitude: 113, latitude: 22 }} /> 就闪退

zhengyanGit avatar May 08 '23 08:05 zhengyanGit

AndroidManifest.xml. application 加上: android:allowNativeHeapPointerTagging="false"

duxj099 avatar Mar 22 '24 13:03 duxj099