Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
302a802
调整 ios 初始化接口
qiuxiang Feb 13, 2022
a6d64e6
Update readme.md
Mar 1, 2022
a9ce139
Merge pull request #725 from topb25/main
qiuxiang Mar 1, 2022
20654fe
Update readme.md
qiuxiang Apr 19, 2022
c0c20e1
Upgrade Map SDK
qiuxiang May 10, 2022
0b9f91a
Fix ios privacy
qiuxiang May 17, 2022
d24f2ab
Update readme.md
qiuxiang Jun 30, 2022
c187c27
解决 #749
qiuxiang Jul 18, 2022
a031e86
升级 SDK
qiuxiang Feb 12, 2023
92b0cb8
更新依赖
qiuxiang Feb 13, 2023
3b30c68
移除 example 原生代码(使用 react-native init example 创建)
qiuxiang Feb 13, 2023
1166d3b
Fix build action
qiuxiang Feb 13, 2023
78db18a
Add build docs action
qiuxiang Feb 13, 2023
6277dfa
Fix docs action
qiuxiang Feb 13, 2023
78f30d6
Update readme
qiuxiang Feb 13, 2023
bfdaea1
Update readme.md
qiuxiang Feb 13, 2023
4e67995
Fix release action
qiuxiang Feb 13, 2023
52a5fd4
Update release action
qiuxiang Feb 13, 2023
4e944aa
Fix ios project
qiuxiang Feb 13, 2023
d642010
Upgrade iOS SDK to 9.6.0
qiuxiang Feb 13, 2023
2b73cea
Fix ios project config
qiuxiang Feb 14, 2023
f50289b
调整发布脚本,npm publish 与 build example 并行
qiuxiang Feb 14, 2023
9f9c560
Update react-native.config.js
qiuxiang Jul 10, 2023
da9ca75
Update release.yml
qiuxiang Jul 10, 2023
4092f48
Merge branch 'main-ori' into dev_oh
GodVampire Nov 29, 2024
d14214e
feat: 升级dependency 'AMap3DMap', "~> 9.7.0"
GodVampire Apr 21, 2026
1a340b1
feat: 更新一下iOS初始化接口
GodVampire Apr 21, 2026
365233d
fix: 修复iOS achieved报错问题
GodVampire Apr 22, 2026
1ed8ec5
feat: s.dependency 'AMap3DMap', "~> 10.0.600"
GodVampire Apr 22, 2026
0228332
Merge branch 'dev' into dev_oh
GodVampire Apr 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/issue_template.md

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: build-docs
on:
push:
branches: [main]
jobs:
build-docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- run: npm i typescript typedoc
- run: npx typedoc --out docs/api --skipErrorChecking lib/src
- uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs
21 changes: 10 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,20 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: npm pack
- run: npx react-native init example
working-directory: ../
- run: cp index.js ../example/
- run: cp -r example ../example/
- run: npm i ../react-native-amap3d/react-native-amap3d-0.0.0.tgz
working-directory: ../example
- run: cp index.js example/
- run: cp -r example-app example/
- run: npm i ../react-native-amap3d-0.0.0.tgz
working-directory: example
- run: npm i @react-native-picker/picker @react-navigation/native @react-navigation/native-stack react-native-safe-area-context react-native-screens
working-directory: ../example
working-directory: example
- run: sed -i.backup -r 's/(enableSeparateBuildPerCPUArchitecture = )false/\1true/' build.gradle
working-directory: ../example/android/app
working-directory: example/android/app
- run: ./gradlew assembleRelease
working-directory: ../example/android
- uses: actions/upload-artifact@v1
working-directory: example/android
- uses: actions/upload-artifact@v3
with:
name: example.apk
path: ../example/android/app/build/outputs/apk/release/app-arm64-v8a-release.apk
path: example/android/app/build/outputs/apk/release/app-arm64-v8a-release.apk
49 changes: 24 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,40 @@
name: build
name: release
on:
release:
types: [published]
jobs:
release:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm pack
- run: npx react-native init example
working-directory: ../
- run: cp index.js ../example/
- run: cp -r example ../example/
- run: npm i ../react-native-amap3d/react-native-amap3d-0.0.0.tgz
working-directory: ../example
- run: npm i @react-native-picker/picker @react-navigation/native @react-navigation/native-stack react-native-safe-area-context react-native-screens
working-directory: ../example
- run: sed -i.backup -r 's/(enableSeparateBuildPerCPUArchitecture = )false/\1true/' build.gradle
working-directory: ../example/android/app
- run: ./gradlew assembleRelease
working-directory: ../example/android
- uses: bruceadams/get-release@v1.2.3
- uses: actions/checkout@v3
- uses: bruceadams/get-release@v1.3.2
id: release
env:
GITHUB_TOKEN: ${{ github.token }}
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
registry-url: "https://registry.npmjs.org"
- run: npm version ${{ steps.release.outputs.tag_name }} --no-git-tag-version
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
build-example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm pack
- run: npx react-native init example
- run: cp index.js example/
- run: cp -r example-app example/
- run: npm i ../react-native-amap3d-0.0.0.tgz
working-directory: example
- run: npm i @react-native-picker/picker @react-navigation/native @react-navigation/native-stack react-native-safe-area-context react-native-screens
working-directory: example
- run: sed -i.backup -r 's/(enableSeparateBuildPerCPUArchitecture = )false/\1true/' build.gradle
working-directory: example/android/app
- run: ./gradlew assembleRelease
working-directory: example/android
- uses: svenstaro/upload-release-action@v2
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: ../example/android/app/build/outputs/apk/release/app-arm64-v8a-release.apk
asset_name: example.apk
asset_content_type: application/vnd.android.package-archive
file: example/android/app/build/outputs/apk/release/app-*-release.apk
file_glob: true
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ build/
xcuserdata/
Pods/
lib/js/
/android/
/ios/

*.iml
*.xcworkspace
Expand Down
227 changes: 0 additions & 227 deletions android/app/build.gradle

This file was deleted.

Binary file removed android/app/debug.keystore
Binary file not shown.
13 changes: 0 additions & 13 deletions android/app/src/debug/AndroidManifest.xml

This file was deleted.

Loading
Loading