Skip to content

Commit

Permalink
v1.0.35
Browse files Browse the repository at this point in the history
  • Loading branch information
lovebing committed May 17, 2020
1 parent 9d514d2 commit 935adba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class ConvertUtils {
private static final Map<Class, Field[]> FILED_MAP = new HashMap<>();

public static LatLng convert(LocationData locationData) {
if (!locationData.isValid()) {
if (locationData == null || !locationData.isValid()) {
return null;
}
return new LatLng(locationData.getLatitude(), locationData.getLongitude());
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-baidu-map",
"version": "1.0.34",
"version": "1.0.35",
"description": "Baidu Map SDK modules and views for React Native(Android & iOS), support react native 0.61+. 百度地图 React Native 模块,支持 react native 0.61+,已更新到最新的百度地图 SDK 版本。",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions react-native-baidu-map.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|

s.name = "react-native-baidu-map"
s.version = "1.0.34"
s.version = "1.0.35"
s.summary = "Baidu Map for React Native"

s.description = <<-DESC
Expand Down Expand Up @@ -41,7 +41,7 @@ Pod::Spec.new do |s|
# Supports git, hg, bzr, svn and HTTP.
#

s.source = { :http => "http://repo.codeboot.net/pod/http/react-native-baidu-map/1.0.34/source.zip" }
s.source = { :http => "http://repo.codeboot.net/pod/http/react-native-baidu-map/1.0.35/source.zip" }

s.source_files = "ios/RCTBaiduMap/**/*.{h,m}"
s.exclude_files = ""
Expand Down

0 comments on commit 935adba

Please sign in to comment.