Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
react-native-amap3d
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
放牛的园子
react-native-amap3d
Commits
f8bc31c0
Commit
f8bc31c0
authored
May 27, 2017
by
Qiu Xiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除无用的 target
parent
caad39cf
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
172 deletions
+10
-172
Info.plist
example/ios/Example-tvOS/Info.plist
+0
-54
Info.plist
example/ios/Example-tvOSTests/Info.plist
+0
-24
project.pbxproj
example/ios/Example.xcodeproj/project.pbxproj
+0
-0
Contents.json
.../Example/Images.xcassets/AppIcon.appiconset/Contents.json
+10
-0
ExampleTests.m
example/ios/ExampleTests/ExampleTests.m
+0
-70
Info.plist
example/ios/ExampleTests/Info.plist
+0
-24
No files found.
example/ios/Example-tvOS/Info.plist
deleted
100644 → 0
View file @
caad39cf
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
CFBundleDevelopmentRegion
<
/k
e
y
>
<
string
>
en
<
/string
>
<
k
e
y
>
CFBundleExecutable
<
/k
e
y
>
<
string
>
$
(
EXECUTABLE_NAME
)<
/string
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
<
string
>
org.reactjs.native.example.$
(
PRODUCT_NAME:rfc1034identifier
)<
/string
>
<
k
e
y
>
CFBundleInfoDictionaryVersion
<
/k
e
y
>
<
string
>
6.0
<
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
$
(
PRODUCT_NAME
)<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.0
<
/string
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1
<
/string
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
tru
e
/
>
<
k
e
y
>
UILaunchStoryboardName
<
/k
e
y
>
<
string
>
LaunchScreen
<
/string
>
<
k
e
y
>
UIRequiredDeviceCapabilities
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
armv7
<
/string
>
<
/
a
rr
a
y
>
<
k
e
y
>
UISupportedInterfaceOrientations
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
UIInterfaceOrientationPortrait
<
/string
>
<
string
>
UIInterfaceOrientationLandscapeLeft
<
/string
>
<
string
>
UIInterfaceOrientationLandscapeRight
<
/string
>
<
/
a
rr
a
y
>
<
k
e
y
>
UIViewControllerBasedStatusBarAppearance
<
/k
e
y
>
<
fa
ls
e
/
>
<
k
e
y
>
NSLocationWhenInUseUsageDescription
<
/k
e
y
>
<
string
><
/string
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
<
!--S
ee
http://st
e
.vn/
2015
/
06
/
10
/
c
on
f
iguring-
a
pp-tr
a
nsport-s
ec
urity-ios-
9
-osx-
10
-
11
/
--
>
<
d
i
c
t
>
<
k
e
y
>
NSExceptionDomains
<
/k
e
y
>
<
d
i
c
t
>
<
k
e
y
>
localhost
<
/k
e
y
>
<
d
i
c
t
>
<
k
e
y
>
NSExceptionAllowsInsecureHTTPLoads
<
/k
e
y
>
<
tru
e
/
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/plist
>
example/ios/Example-tvOSTests/Info.plist
deleted
100644 → 0
View file @
caad39cf
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
CFBundleDevelopmentRegion
<
/k
e
y
>
<
string
>
en
<
/string
>
<
k
e
y
>
CFBundleExecutable
<
/k
e
y
>
<
string
>
$
(
EXECUTABLE_NAME
)<
/string
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
<
string
>
org.reactjs.native.example.$
(
PRODUCT_NAME:rfc1034identifier
)<
/string
>
<
k
e
y
>
CFBundleInfoDictionaryVersion
<
/k
e
y
>
<
string
>
6.0
<
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
$
(
PRODUCT_NAME
)<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
BNDL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.0
<
/string
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1
<
/string
>
<
/
d
i
c
t
>
<
/plist
>
example/ios/Example.xcodeproj/project.pbxproj
View file @
f8bc31c0
This diff is collapsed.
Click to expand it.
example/ios/Example/Images.xcassets/AppIcon.appiconset/Contents.json
View file @
f8bc31c0
{
"images"
:
[
{
"idiom"
:
"iphone"
,
"size"
:
"20x20"
,
"scale"
:
"2x"
},
{
"idiom"
:
"iphone"
,
"size"
:
"20x20"
,
"scale"
:
"3x"
},
{
"idiom"
:
"iphone"
,
"size"
:
"29x29"
,
...
...
example/ios/ExampleTests/ExampleTests.m
deleted
100644 → 0
View file @
caad39cf
/**
* 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.
*/
#import <UIKit/UIKit.h>
#import <XCTest/XCTest.h>
#import <React/RCTLog.h>
#import <React/RCTRootView.h>
#define TIMEOUT_SECONDS 600
#define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
@interface
ExampleTests
:
XCTestCase
@end
@implementation
ExampleTests
-
(
BOOL
)
findSubviewInView
:(
UIView
*
)
view
matching
:(
BOOL
(
^
)(
UIView
*
view
))
test
{
if
(
test
(
view
))
{
return
YES
;
}
for
(
UIView
*
subview
in
[
view
subviews
])
{
if
([
self
findSubviewInView
:
subview
matching
:
test
])
{
return
YES
;
}
}
return
NO
;
}
-
(
void
)
testRendersWelcomeScreen
{
UIViewController
*
vc
=
[[[
RCTSharedApplication
()
delegate
]
window
]
rootViewController
];
NSDate
*
date
=
[
NSDate
dateWithTimeIntervalSinceNow
:
TIMEOUT_SECONDS
];
BOOL
foundElement
=
NO
;
__block
NSString
*
redboxError
=
nil
;
RCTSetLogFunction
(
^
(
RCTLogLevel
level
,
RCTLogSource
source
,
NSString
*
fileName
,
NSNumber
*
lineNumber
,
NSString
*
message
)
{
if
(
level
>=
RCTLogLevelError
)
{
redboxError
=
message
;
}
});
while
([
date
timeIntervalSinceNow
]
>
0
&&
!
foundElement
&&
!
redboxError
)
{
[[
NSRunLoop
mainRunLoop
]
runMode
:
NSDefaultRunLoopMode
beforeDate
:[
NSDate
dateWithTimeIntervalSinceNow
:
0
.
1
]];
[[
NSRunLoop
mainRunLoop
]
runMode
:
NSRunLoopCommonModes
beforeDate
:[
NSDate
dateWithTimeIntervalSinceNow
:
0
.
1
]];
foundElement
=
[
self
findSubviewInView
:
vc
.
view
matching
:
^
BOOL
(
UIView
*
view
)
{
if
([
view
.
accessibilityLabel
isEqualToString
:
TEXT_TO_LOOK_FOR
])
{
return
YES
;
}
return
NO
;
}];
}
RCTSetLogFunction
(
RCTDefaultLogFunction
);
XCTAssertNil
(
redboxError
,
@"RedBox error: %@"
,
redboxError
);
XCTAssertTrue
(
foundElement
,
@"Couldn't find element with text '%@' in %d seconds"
,
TEXT_TO_LOOK_FOR
,
TIMEOUT_SECONDS
);
}
@end
example/ios/ExampleTests/Info.plist
deleted
100644 → 0
View file @
caad39cf
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
CFBundleDevelopmentRegion
<
/k
e
y
>
<
string
>
en
<
/string
>
<
k
e
y
>
CFBundleExecutable
<
/k
e
y
>
<
string
>
$
(
EXECUTABLE_NAME
)<
/string
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
<
string
>
org.reactjs.native.example.$
(
PRODUCT_NAME:rfc1034identifier
)<
/string
>
<
k
e
y
>
CFBundleInfoDictionaryVersion
<
/k
e
y
>
<
string
>
6.0
<
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
$
(
PRODUCT_NAME
)<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
BNDL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.0
<
/string
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1
<
/string
>
<
/
d
i
c
t
>
<
/plist
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment