cnpmge

Results 15 issues of cnpmge

Please read and follow the issue templates: 1. Bug Report or Documentation Issue or Questions and Help? 2. Which `react-native-wechat` version are you using? 3. What platform does your issue...

我是从后台获取数据,然后展示在页面上,但是我获取了数据加载这个组件的时候,title完全不显示,这个是什么原因呢? ![Screenshot_2019-08-22-12-55-02-203_com xiaoliao](https://user-images.githubusercontent.com/48587696/63487175-ce082400-c4dc-11e9-9c6b-ec5d8ec821e7.png)

### My environment: 安卓上的问题,发送图片崩溃是在点击聊天框下面的图片按钮时先获取权限,点击允许后出现的崩溃,此后无论如何也进入不了聊天界面了。 点击拍照崩溃:是获取完权限,每次点击拍照的时候,崩溃,但是可以打开聊天界面,拍照的图片也正常发送,如果再拍照的话,还是崩溃,但是拍照的图片还是会发送成功 我的RN是0.57.6 "aurora-imui-react-native": "^0.14.0", 崩溃日志,"stacks":"java.lang.IllegalArgumentException: Comparison method violates its general contract! 搜索问题是java1.6和1.7的区别,导致sort排序返回值问题,请问要怎样修改

this.listener = Location.addLocationListener(location => { this.setState({location}); const coord={ latitude:location.latitude, longitude:location.longitude, } const latitude=location.latitude const longitude=location.longitude global.latitudeGlobal=location.latitude global.longitudeGlobal=location.longitude this.setState({ latitude,longitude }) Geocode.reverse(coord).then( (Promise)=>{ var city=Promise.city this.setState({city}) global.cityglobal=Promise.city } ); }) 我是在componentDidMount函数里调用的这个监听,获取到了城市,获取到了经纬度,多次测试,报这个错的时候非常少,10次里面只有一次会出现这种情况,请问这个的原因是什么呢?

![QQ截图20190715145412](https://user-images.githubusercontent.com/48587696/61199422-78d43800-a710-11e9-81c5-ab0425c6c44c.png)

![QQ截图20200610144718](https://user-images.githubusercontent.com/48587696/84235954-64b7d700-ab29-11ea-9758-d08243909034.png)

我进入app首页的时候正常走,我确保获得了正确的定位,但是想在这个页面重新获取定位的时候,出现了问题,这个方法随机:有时候可以正常获取定位,有时候这个方法根本不走,在方法里添加了alert弹窗去验证,走的时候正常弹出,不走的时候弹窗不显示,请问这个是什么原因呢?之前看您发的是Geocode.reverse这个方法不能同时调用,但是我确保他走完了。

我想将赋值传递给我自己定义的state的值,但是就是赋值不出去,是哪里出问题了呢? ![QQ截图20190822191340](https://user-images.githubusercontent.com/48587696/63510409-15a8a300-c511-11e9-85f7-fec178e42c5e.png)

![QQ截图20190718113358](https://user-images.githubusercontent.com/48587696/61427228-f46ff800-a94f-11e9-97f4-bd3cdd176303.png)