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
9b102854
Commit
9b102854
authored
Oct 19, 2017
by
7c00
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update example dependencies
parent
e0131865
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
15 additions
and
55 deletions
+15
-55
.flowconfig
example/.flowconfig
+0
-45
build.gradle
example/android/app/build.gradle
+4
-0
MainApplication.java
...droid/app/src/main/java/com/rnamap3d/MainApplication.java
+6
-1
styles.xml
example/android/app/src/main/res/values/styles.xml
+2
-1
index.ios.js
example/index.ios.js
+0
-3
index.js
example/index.js
+0
-0
package-lock.json
example/package-lock.json
+0
-0
package.json
example/package.json
+3
-3
examples.js
example/src/examples.js
+0
-2
No files found.
example/.flowconfig
deleted
100644 → 0
View file @
e0131865
[ignore]
; We fork some components by platform
.*/*[.]android.js
; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/
; Ignore unexpected extra "@providesModule"
.*/node_modules/.*/node_modules/fbjs/.*
; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
.*/Libraries/react-native/React.js
.*/Libraries/react-native/ReactNative.js
[include]
[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow
flow/
[options]
emoji=true
module.system=haste
munge_underscores=true
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
unsafe.enable_getters_and_setters=true
[version]
^0.49.1
example/android/app/build.gradle
View file @
9b102854
...
...
@@ -72,6 +72,10 @@ import com.android.build.OutputFile
* ]
*/
project
.
ext
.
react
=
[
entryFile:
"index.js"
]
apply
from:
"../../node_modules/react-native/react.gradle"
/**
...
...
example/android/app/src/main/java/com/rnamap3d/MainApplication.java
View file @
9b102854
...
...
@@ -24,9 +24,14 @@ public class MainApplication extends Application implements ReactApplication {
protected
List
<
ReactPackage
>
getPackages
()
{
return
Arrays
.<
ReactPackage
>
asList
(
new
MainReactPackage
(),
new
AMap3DPackage
()
new
AMap3DPackage
()
);
}
@Override
protected
String
getJSMainModuleName
()
{
return
"index"
;
}
};
@Override
...
...
example/android/app/src/main/res/values/styles.xml
View file @
9b102854
...
...
@@ -2,7 +2,8 @@
<!-- Base application theme. -->
<style
name=
"AppTheme"
parent=
"Theme.AppCompat.Light.NoActionBar"
>
<!-- Customize your theme here. -->
<item
name=
"colorPrimaryDark"
>
#e0e0e0
</item>
<item
name=
"android:windowLightStatusBar"
>
true
</item>
</style>
</resources>
example/index.ios.js
deleted
100644 → 0
View file @
e0131865
import
{
AppRegistry
}
from
'react-native'
import
App
from
'./src/app'
AppRegistry
.
registerComponent
(
'RNAMap3D'
,
()
=>
App
)
example/index.
android.
js
→
example/index.js
View file @
9b102854
File moved
example/package-lock.json
View file @
9b102854
This diff is collapsed.
Click to expand it.
example/package.json
View file @
9b102854
...
...
@@ -9,12 +9,12 @@
"dependencies"
:
{
"prop-types"
:
"^15.6.0"
,
"react"
:
"16.0.0-beta.5"
,
"react-native"
:
"^0.49.
1
"
,
"react-native"
:
"^0.49.
3
"
,
"react-native-amap3d"
:
"^0.7.3"
,
"react-navigation"
:
"^1.0.0-beta.1
2
"
"react-navigation"
:
"^1.0.0-beta.1
5
"
},
"devDependencies"
:
{
"babel-preset-react-native"
:
"
2.1
.0"
"babel-preset-react-native"
:
"
^4.0
.0"
},
"presets"
:
[
"react-native"
...
...
example/src/examples.js
View file @
9b102854
...
...
@@ -2,7 +2,6 @@ import React, {Component} from 'react'
import
{
Platform
,
ScrollView
,
StatusBar
,
StyleSheet
,
Text
,
TouchableHighlight
,
...
...
@@ -30,7 +29,6 @@ export default class Examples extends Component {
render
()
{
return
<
ScrollView
style
=
{
styles
.
scrollView
}
contentContainerStyle
=
{
styles
.
container
}
>
<
StatusBar
barStyle
=
'dark-content'
backgroundColor
=
'#e0e0e0'
/>
<
View
style
=
{
styles
.
group
}
>
{
this
.
_renderItem
(
'地图模式'
,
'MapTypes'
)}
<
View
style
=
{
styles
.
separator
}
/
>
...
...
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