Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
8f06ec0
chore: add dev tag script
pinpong Nov 9, 2025
b216ca4
chore: updated dependencies
pinpong Nov 10, 2025
0cee1b2
fix(ios): added nitromodules import to module & view impl files
iaudouard Nov 9, 2025
b573d7e
chore: updated README.md
pinpong Nov 11, 2025
e7af5dc
chore(android): remove packagingOptions
pinpong Nov 11, 2025
3662eb7
chore(example): update dependencies
pinpong Nov 11, 2025
ddf3303
feat(ios): add location activity type support
pinpong Nov 12, 2025
b6d00e3
chore(example): memoize callbacks
pinpong Nov 12, 2025
2c89c93
chore: update dependencies
pinpong Nov 13, 2025
6086de3
chore(refactor): package.json
pinpong Nov 13, 2025
8d52cd9
chore: update package.json
pinpong Nov 13, 2025
9ffbba2
chore: update formatter style
pinpong Nov 13, 2025
605d600
chore(android): update google maps utils
pinpong Nov 13, 2025
c50ff31
ci: update workflows
pinpong Nov 13, 2025
26df301
ci: added next release workflow
pinpong Nov 13, 2025
a104b08
ci: update release config
pinpong Nov 13, 2025
eea7b57
chore: updated nitro
pinpong Nov 13, 2025
6cdf686
ci: update pr workflow
pinpong Nov 13, 2025
c209cc8
ci: add pr validation workflow
pinpong Nov 14, 2025
5b1a898
chore: updated eslint
pinpong Nov 14, 2025
e951abe
chore: update yarn.lock
pinpong Nov 14, 2025
813dca2
chore: remove unused dependencies
pinpong Nov 15, 2025
4e20d8a
fix(example): statusbar
pinpong Nov 16, 2025
e758ac8
chore(example): add modules example
pinpong Nov 17, 2025
fd8b8da
refactor(ios): lifecycle
pinpong Nov 17, 2025
0f4cec0
refactor(android): lifecycle
pinpong Nov 17, 2025
a1bfca1
chore: update dependencies
pinpong Nov 17, 2025
0f3fa22
chore: update PR template
pinpong Nov 17, 2025
bb7d196
fix: trigger release
pinpong Nov 17, 2025
f5358b7
fix(ios): traffic enabled
pinpong Nov 18, 2025
2761229
fix(android): location updates now fully controlled by lifecycle
pinpong Nov 18, 2025
3df1eed
fix(ios): mapview deinit
pinpong Nov 18, 2025
5afeb22
fix(android): mapview onDestroy
pinpong Nov 18, 2025
89884db
fix(android): forward last known location to LocationSource listener
pinpong Nov 18, 2025
cec18d7
chore(example): remove log
pinpong Nov 18, 2025
73c0659
fix(android): isMyLocationButtonEnabled and use always custom Locatio…
pinpong Nov 18, 2025
6d15e4c
fix(ios): request immediate location update instead of using last known
pinpong Nov 18, 2025
873c034
fix(android): request immediate location update instead of using last…
pinpong Nov 18, 2025
dbd13a1
fix(android): prevent same location update
pinpong Nov 18, 2025
94f62e7
ci: set xcode version to 26.0.1
pinpong Nov 19, 2025
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
8 changes: 4 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Pull request

Please ensure this PR targets the **`dev` branch** and follows the project conventions.
Please ensure this PR targets the **`dev` branch** and follows the project conventions.
CI already runs linting, formatting, and build checks automatically.

---
Expand Down Expand Up @@ -33,16 +33,16 @@ Short description of what this PR changes or adds.

- [ ] Android
- [ ] iOS
- [ ] Core
- [ ] JS
- [ ] Example App
- [ ] Docs

---

### Related

List any related issues, pull requests, or discussions.
Use the format:
List any related issues, pull requests, or discussions.
Use the format:
`Fixes #123`, `Refs #456`, `Close #789`

---
Expand Down
68 changes: 68 additions & 0 deletions .github/workflows/prepare_dev_for_next_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Prepare dev branch for next release

on:
push:
branches: [main]
paths:
- 'package.json'

permissions:
contents: write

jobs:
update-pods:
name: Update Podfile.lock after release
runs-on: macos-latest
if: startsWith(github.event.head_commit.message, 'release:')
env:
XCODE_VERSION: latest-stable

steps:
- name: Checkout
uses: actions/checkout@v5.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: Setup
uses: ./.github/actions/setup

- name: Install CocoaPods
working-directory: example
run: yarn ios:pods

- name: Commit updated Podfile.lock
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

git add example/ios/Podfile.lock

if git diff --cached --quiet; then
echo "No Podfile.lock changes."
exit 0
fi

git commit -m "chore(example): update Podfile.lock after release [skip ci]"
git push

sync-dev:
name: Merge main into dev
runs-on: ubuntu-latest
needs: update-pods
if: startsWith(github.event.head_commit.message, 'release:')
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: Fetch all branches
run: git fetch --all

- name: Fast-forward dev with main
run: |
git checkout dev
git merge origin/main --ff-only
git push origin dev
15 changes: 9 additions & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
with:
fetch-depth: 0

- name: Setup
uses: ./.github/actions/setup
Expand All @@ -37,6 +39,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
with:
fetch-depth: 0

- name: Setup
uses: ./.github/actions/setup
Expand All @@ -50,6 +54,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
with:
fetch-depth: 0

- name: Setup
uses: ./.github/actions/setup
Expand Down Expand Up @@ -89,10 +95,12 @@ jobs:
runs-on: macos-latest
needs: [lint, test]
env:
XCODE_VERSION: latest-stable
XCODE_VERSION: '26.0.1'
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
with:
fetch-depth: 0

- name: Setup
uses: ./.github/actions/setup
Expand All @@ -112,10 +120,5 @@ jobs:
- name: Create Secrets.xcconfig
run: echo MAPS_API_KEY="API_KEY" >> example/ios/Secrets.xcconfig

- name: Install iOS Simulator runtime
run: |
sudo xcodebuild -runFirstLaunch
sudo xcodebuild -downloadPlatform iOS

- name: Build example for iOS
run: yarn build:ios
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v5.0.0
with:
fetch-depth: 0 # wichtig für semantic-release, damit alle Tags vorhanden sind
fetch-depth: 0

- name: Setup
uses: ./.github/actions/setup
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/validate_pr_source.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Validate main branch PR source

on:
pull_request_target:
branches: [main]
types: [opened, reopened, synchronize]

permissions:
pull-requests: write
contents: read

jobs:
close:
if: ${{ github.event.pull_request.head.ref != 'dev' }}
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Close PR
run: |
echo "Closing PR from invalid source branch: ${{ github.event.pull_request.head.ref }}"

gh pr comment ${{ github.event.pull_request.number }} \
--body "This PR targets **main**, but it was created from **${{ github.event.pull_request.head.ref }}**. Only PRs from **dev** are allowed."
gh pr close ${{ github.event.pull_request.number }}
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
CHANGELOG.md
node_modules/
lib/
expoConfig/build/
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
[![Dev Release](https://img.shields.io/npm/v/react-native-google-maps-plus/dev.svg?label=dev%20release&color=orange)](https://www.npmjs.com/package/react-native-google-maps-plus)
[![Build](https://github.com/pinpong/react-native-google-maps-plus/actions/workflows/release.yml/badge.svg)](https://github.com/pinpong/react-native-google-maps-plus/actions/workflows/release.yml)
![React Native](https://img.shields.io/badge/react--native-%3E%3D0.81.0-61dafb.svg?logo=react)
![Platform: Android](https://img.shields.io/badge/android-supported-brightgreen.svg?logo=android&logoColor=white)
![Platform: iOS](https://img.shields.io/badge/ios-supported-lightgrey.svg?logo=apple&logoColor=black)

React Native wrapper for Android & iOS Google Maps SDK.

Expand Down
12 changes: 12 additions & 0 deletions android/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

indent_style = space
indent_size = 2

max_line_length = 150
21 changes: 0 additions & 21 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,27 +70,6 @@ android {
}
}

packagingOptions {
excludes = [
"META-INF",
"META-INF/**",
"**/libc++_shared.so",
"**/libfbjni.so",
"**/libjsi.so",
"**/libfolly_json.so",
"**/libfolly_runtime.so",
"**/libglog.so",
"**/libhermes.so",
"**/libhermes-executor-debug.so",
"**/libhermes_executor.so",
"**/libreactnative.so",
"**/libreactnativejni.so",
"**/libturbomodulejsijni.so",
"**/libreact_nativemodule_core.so",
"**/libjscexecutor.so"
]
}

buildFeatures {
buildConfig true
prefab true
Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ RNGoogleMapsPlus_ndkVersion=27.1.12297006
RNGoogleMapsPlus_googlePlayServicesBaseVersion=18.9.0
RNGoogleMapsPlus_googlePlayServicesMapsVersion=19.2.0
RNGoogleMapsPlus_googlePlayServicesLocationVersion=21.3.0
RNGoogleMapsPlus_mapsUtilsVersion=3.19.0
RNGoogleMapsPlus_mapsUtilsVersion=3.19.1
Loading
Loading