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
e00c8920
Unverified
Commit
e00c8920
authored
Nov 03, 2017
by
7c00
Committed by
GitHub
Nov 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new project build test
parent
4f11c531
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
84 additions
and
72 deletions
+84
-72
.gitignore
.gitignore
+5
-50
.travis.yml
.travis.yml
+67
-17
README.md
README.md
+7
-5
build.gradle
example/android/app/build.gradle
+5
-0
No files found.
.gitignore
View file @
e00c8920
# OSX
#
.DS_Store
# Xcode
#
.idea/
.gradle/
node_modules/
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
xcuserdata/
# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml
# node.js
#
node_modules/
npm-debug.log
yarn-error.log
# BUCK
buck-out/
\.buckd/
*.keystore
# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
local.properties
.travis.yml
View file @
e00c8920
aliases
:
-
&android
components
:
-
build-tools-23.0.1
-
android-23
-
extra-android-m2repository
-
extra-android-support
-
&init-example
|
nvm install node
cd example
npm i
-
&init-new-project
|
nvm install node
npm i -g react-native-cli
react-native init App
cd App
npm i
npm i react-native-amap3d
jobs
:
include
:
-
stage
:
test
-
stage
:
"
test
js"
language
:
node_js
node_js
:
node
cache
:
directories
:
[
node_modules
]
-
stage
:
build
-
stage
:
"
build
test
for
example"
language
:
android
jdk
:
oraclejdk8
android
:
components
:
-
build-tools-23.0.1
-
android-23
-
extra-android-m2repository
-
extra-android-support
android
:
*android
cache
:
directories
:
-
example/node_modules
-
~/.gradle/caches
-
~/.gradle/wrappers
script
:
-
nvm install node
-
cd example
-
npm i
-
*init-example
-
cd android
-
./gradlew assembleDebug
-
./gradlew assembleRelease
-
./gradlew build
-
ls -l app/build/outputs/apk
-
stage
:
build
-
stage
:
"
build
test
for
example"
language
:
objective-c
osx_image
:
xcode9.1
cache
:
...
...
@@ -38,9 +53,44 @@ jobs:
-
~/.rncache
-
~/Library/Caches/CocoaPods/Pods
script
:
-
nvm install node
-
cd example
-
npm i
-
*init-example
-
cd ios
-
pod install
-
xcodebuild -workspace RNAMap3D.xcworkspace -scheme RNAMap3D -sdk iphonesimulator -quiet
-
stage
:
"
build
test
for
new
project"
language
:
android
jdk
:
oraclejdk8
android
:
*android
cache
:
directories
:
-
~/.gradle/caches
-
~/.gradle/wrappers
script
:
-
*init-new-project
-
react-native link
-
cd android
-
./gradlew build
-
ls -l app/build/outputs/apk
-
stage
:
"
build
test
for
new
project"
language
:
objective-c
osx_image
:
xcode9.1
cache
:
directories
:
-
~/.rncache
-
~/Library/Caches/CocoaPods/Pods
script
:
-
*init-new-project
-
cd ios
-
|
echo -e "platform :ios, '8.0'\n\ntarget 'App' do\n pod 'yoga', path: '../node_modules/react-native/ReactCommon/yoga/'\n pod 'React', path: '../node_modules/react-native/'\n pod 'react-native-amap3d', path: '../node_modules/react-native-amap3d/'\nend" > Podfile
-
pod install
-
xcodebuild -workspace App.xcworkspace -scheme App -sdk iphonesimulator -quiet
stages
:
-
"
test
js"
-
name
:
"
build
test
for
example"
if
:
branch = master
-
name
:
"
build
test
for
new
project"
if
:
branch = master
README.md
View file @
e00c8920
# react-native-amap3d [![npm version]
(https://badge.fury.io/js/react-native-amap3d.svg)](https://badge.fury.io/js/react-native-amap3d) [](https://travis-ci.org/qiuxiang/react-native-amap3d)
# react-native-amap3d [![npm version]
[version-badge]][npm] [![build status][build-badge]][build]
react-native 高德地图组件,使用最新 3D SDK,支持 Android + iOS。
该项目很大一定程度参考了
[
react-native-maps
](
https://github.com/airbnb/react-native-maps
)
,
目前正在开发中,欢迎各种
[
Issue
](
https://github.com/qiuxiang/react-native-amap3d/issues/new
)
。
react-native 高德地图组件,使用最新 3D SDK,支持 Android + iOS,受
[
react-native-maps
](
https://github.com/airbnb/react-native-maps
)
启发,提供功能丰富且易用的接口。
## 功能
...
...
@@ -177,3 +174,8 @@ import MapView from 'react-native-amap3d'
-
问题不具备普遍性,且缺乏讨论
问题被关闭,仍然可以继续反馈,我会尽量回复。
[
npm
]:
https://www.npmjs.com/package/react-native-amap3d
[
version-badge
]:
https://badge.fury.io/js/react-native-amap3d.svg
[
build-badge
]:
https://travis-ci.org/qiuxiang/react-native-amap3d.svg?branch=master
[
build
]:
https://travis-ci.org/qiuxiang/react-native-amap3d
example/android/app/build.gradle
View file @
e00c8920
...
...
@@ -134,6 +134,11 @@ android {
}
}
}
android
{
lintOptions
{
abortOnError
false
}
}
}
dependencies
{
...
...
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