Results 42 comments of Riant

发现 2.7.5 版本已经支持 set appBadge 了

@chj-damon 我是直接重新统计数量,然后设置 badge

@askonev I need to use this api in plugin, so your solution does not make scene for a document which uploaded by user, because we can not get the deleted...

``` BigInt.prototype.toJSON = function() { return Number(this) } ``` This is working fine with browser js. Of course if you want to do something on server, you also need to...

百度-SDK 看起来只提供了其他坐标系转为百度系,没有提供百度转其他的支持呢: http://lbsyun.baidu.com/index.php?title=ios-locsdk/guide/addition-func/latlng-trans > WGS84可转换为:百度经纬度坐标、百度墨卡托坐标; 国测局坐标 可转换为:百度经纬度坐标、百度墨卡托坐标; 百度经纬度坐标 可转换为:百度墨卡托坐标; 百度墨卡托坐标 可转换为:百度经纬度坐标; 暂时也可以试试 Web API: http://lbsyun.baidu.com/index.php?title=webapi/guide/changeposition

试试给图片文件名加上 @3x 后缀,比如 `[email protected]`, 然后,如下方式引用: ``` icon={require('@/assets/images/location-mark.png')} ```

@GreatAuk 降到 3.5.3 可以用,但我这边 3.5.3 的话又有 NDK 的问题。唉,难受。

估计是因为 jar 包里边已经包含这些文件了,所以报冲突。手动删一下 node_mobiles/react-native-baidu-map/android/src/main/aseets 这个文件夹可以解决这个问题。

@roycclu Thanks very much, I can not wait to try. For installation steps, just add another README-section like your "Podfile import looks like" paragraph, I think it is clear enough...

Refer this answer: https://stackoverflow.com/questions/6530819/cocoa-cocoa-h-not-found-error, Add `s.exclude_files = 'ios/**/{examples,Mac}/**/*.{h,m}'` after `s.source_files` line could resolve the "cocoa.h" error. But I got some other errors: ``` Undefined symbols for architecture arm64: "_OBJC_CLASS_$_RNVideoTrimmer", referenced...