Skip to content

Commit 46c622d

Browse files
committed
feat!: migrate to React Native New Architecture
BREAKING CHANGE: React Native New Architecture support - See MIGRATING.md for upgrade guide - Convert NavView to Fabric component, NavModule/NavAutoModule to TurboModules - Replace onMapReady/onRecenterButtonClick callbacks with listener pattern - Refactor NavigationView props - Improve event listener pattern
1 parent 4376205 commit 46c622d

146 files changed

Lines changed: 15509 additions & 7817 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Check Objective-C formatting
5353
run: ./scripts/format-objc.sh --check
5454

55-
check-java-formatting:
55+
check-java-and-kotlin-formatting:
5656
runs-on: ubuntu-latest
5757
timeout-minutes: 30
5858
steps:
@@ -84,6 +84,17 @@ jobs:
8484
- name: Check Java formatting
8585
run: ./scripts/format-java.sh --check
8686

87+
- name: Download ktfmt
88+
run: |
89+
KTFMT_VERSION=0.54
90+
KTFMT_URL=https://github.com/facebook/ktfmt/releases/download/v${KTFMT_VERSION}/ktfmt-${KTFMT_VERSION}-jar-with-dependencies.jar
91+
mkdir -p $HOME/ktfmt
92+
curl -L -o $HOME/ktfmt/ktfmt.jar $KTFMT_URL
93+
94+
- name: Check Kotlin formatting
95+
run: |
96+
find . -name "*.kt" -not -path "*/build/*" | xargs java -jar $HOME/ktfmt/ktfmt.jar --google-style --dry-run --set-exit-if-changed
97+
8798
test:
8899
runs-on: ubuntu-latest
89100
timeout-minutes: 30

0 commit comments

Comments
 (0)