Modernize native project config, tooling and CI - #18
Open
ivnbogdan wants to merge 2 commits into
Open
Conversation
Android: declare the namespace required by AGP 8 (moved out of AndroidManifest.xml), raise fallback SDK versions from the 2017-era 27/16/27 to 36/24/36, target Java 17 and drop obsolete buildTools, abiFilters and lint settings. The react-native:+ dependency stays: the React Native Gradle Plugin substitutes the app's react-android version. iOS: raise the deployment target from iOS 10 to 15.1 (React Native 0.81+ floor), depend on React-Core instead of the legacy React umbrella pod, and point s.source at this repository instead of the module template the project was scaffolded from. Verified against a fresh React Native 0.86 app (Gradle 9.3.1, AGP 8, JDK 21, SDK 36): assembleDebug succeeds with the module compiled in.
Bump the build/test toolchain: TypeScript 6.0 (7.0 is incompatible with tsup's dts step), vite 8, vitest 4, @types/node 24. Remove the unused baseUrl/paths pair from tsconfig, switch moduleResolution to bundler and silence the TS6 baseUrl deprecation that tsup still triggers internally. CI moves to Node 24, actions v7 and npm ci. Examples: depend on @aptabase/react-native ^0.5.0 and add the react-dom/react-native-web pair HelloWorldExpo was missing for web support. 30/30 unit tests pass; example web export verified on Expo 54.
ivnbogdan
force-pushed
the
chore/modernize-native-and-tooling
branch
from
July 27, 2026 18:51
85e375e to
2c4fdfa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The JS layer of this SDK was refreshed recently (0.5.0), but the native project config and build tooling dated back to the original 2017-era module template. This PR brings both up to current standards while keeping the existing compatibility range (
react-native >=0.81.4, open-ended).Native (Android)
namespaceinbuild.gradle(required by AGP 8; removed thepackageattribute fromAndroidManifest.xml, which AGP 8.3+ rejects)buildToolsVersion,abiFilters(pure-Java module),versionCodeand lint workaroundscom.facebook.react:react-native:+— the React Native Gradle Plugin substitutes the app's exactreact-androidversionNative (iOS)
s.dependency 'React'→'React-Core's.source, which still pointed at the third-party module template this project was scaffolded fromTooling & CI
baseUrl/paths,moduleResolution: bundlernpm ciwith cachingExamples
@aptabase/react-native^0.3.10 → ^0.5.0react-dom/react-native-webto HelloWorldExpo (missing since web support landed in feat: add react native web support #13,expo export --platform webfailed without them)Validation
npm run build(ESM + dts) and all 30 unit tests pass on the new toolchaintsc --noEmitpasses, and AndroidassembleDebugsucceeds (Gradle 9.3.1, AGP 8, JDK 21, compileSdk 36) withRNAptabaseModulecompiled into the APK — this build fails onmainwithout the namespace fix🤖 Generated with Claude Code