Skip to content

Commit

Permalink
Update ios
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuxiang committed Jul 30, 2021
1 parent dcf1196 commit eeadd4d
Show file tree
Hide file tree
Showing 8 changed files with 110 additions and 111 deletions.
10 changes: 1 addition & 9 deletions ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
platform :ios, '8.0'

# The target name is most likely the name of your project.
target 'RNBaiduMap' do

# Your 'node_modules' directory is probably in the root of your project,
# but if not, adjust the `:path` accordingly
pod 'React', :path => '../node_modules/react-native', :subspecs => [
Expand All @@ -25,10 +24,3 @@ target 'RNBaiduMap' do
pod 'react-native-baidumap-sdk', path: '../lib/ios'
end

post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "React"
target.remove_from_project
end
end
end
179 changes: 98 additions & 81 deletions ios/RNBaiduMap.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0620"
LastUpgradeVersion = "0940"
version = "1.3">
<BuildAction
parallelizeBuildables = "NO"
Expand Down Expand Up @@ -99,13 +99,6 @@
ReferencedContainer = "container:RNBaiduMap.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<EnvironmentVariables>
<EnvironmentVariable
key = "OS_ACTIVITY_MODE"
value = "disable"
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
Expand Down
6 changes: 2 additions & 4 deletions ios/RNBaiduMap/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <UIKit/UIKit.h>
Expand Down
6 changes: 2 additions & 4 deletions ios/RNBaiduMap/AppDelegate.m
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import "AppDelegate.h"
Expand Down
2 changes: 2 additions & 0 deletions ios/RNBaiduMap/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
Expand Down
6 changes: 2 additions & 4 deletions ios/RNBaiduMap/main.m
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <UIKit/UIKit.h>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@
"react-native": ">=0.47"
},
"devDependencies": {
"@babel/core": "^7.1.6",
"metro-react-native-babel-preset": "0.49.2",
"react": "16.6.1",
"react-native": "0.57.6",
"metro-react-native-babel-preset": "0.49.2",
"react-navigation": "1.5.11",
"typescript": "^3.0.3"
},
Expand Down

0 comments on commit eeadd4d

Please sign in to comment.