Skip to content

Upgrade React Native to 0.79.7 and align Kotlin with native SDK 1.7.2#73

Merged
tekinalper merged 1 commit intodevelopfrom
feature/upgrade-rn-079-kotlin-221
Mar 14, 2026
Merged

Upgrade React Native to 0.79.7 and align Kotlin with native SDK 1.7.2#73
tekinalper merged 1 commit intodevelopfrom
feature/upgrade-rn-079-kotlin-221

Conversation

@tekinalper
Copy link
Copy Markdown
Collaborator

@tekinalper tekinalper commented Mar 13, 2026

What it does

Upgrades the React Native wrapper and example app to RN 0.79.7 (React 19) and aligns Kotlin/dependency versions with native SDK v1.7.2 (Kotlin 2.1.20).

Dependency changes:

Dependency Before After
React Native 0.76.6 0.79.7
React 18.3.1 19.0.0
Kotlin (fallback) 1.9.25 2.1.20
kotlinx-serialization 1.6.0 1.8.1
Native SDK (Android) 1.7.1 1.7.2
iOS deployment target 11.0 15.1
peerDependencies * >= 0.78.0

Key changes:

  • Native SDK 1.7.2 uses Kotlin 2.1.20, matching RN 0.80-0.84 — consumers on those versions need zero Kotlin overrides
  • RN 0.79 example app still uses resolutionStrategy override (RN 0.79 ships Kotlin 2.0.21)
  • Removed react-test-renderer (deprecated in React 19)
  • iOS deployment target raised to 15.1 (RN 0.79 requirement)

How to test it

  1. cd example && npm install
  2. Android: npx react-native run-android — app launches and survey displays
  3. iOS: cd ios && pod install && cd .. && npx react-native run-ios — app launches and survey displays
  4. Verify no Kotlin metadata errors in build logs

Acceptance criteria

  • Example app builds and runs on both Android and iOS
  • Refiner SDK initializes and shows survey on both platforms
  • No Kotlin version incompatibility errors
  • RN consumers on 0.80+ can use the SDK without Kotlin overrides (after native SDK 1.7.2 is published)

Link to ticket

Follow-up to native SDK PR refiner-io/mobile-sdk-internal#98 (Kotlin 2.1.20 downgrade)

🤖 Generated with Claude Code

@tekinalper tekinalper force-pushed the feature/upgrade-rn-079-kotlin-221 branch 4 times, most recently from 221190a to c48ddcb Compare March 13, 2026 23:57
@tekinalper tekinalper changed the title Upgrade React Native to 0.79.7 and Kotlin to 2.2.21 Upgrade React Native to 0.79.7 and align Kotlin with native SDK 1.7.2 Mar 13, 2026
@tekinalper tekinalper force-pushed the feature/upgrade-rn-079-kotlin-221 branch from c48ddcb to ac96a95 Compare March 13, 2026 23:58
The native Android SDK (refiner:1.7.2) is compiled with Kotlin 2.1.20,
matching all active RN versions (0.80-0.84). This upgrades the example
app and wrapper to RN 0.79.7 (React 19) with Kotlin 2.1.20.

- Upgrade RN 0.76.6 → 0.79.7, React 18 → 19
- Kotlin fallback version: 2.1.20 (matches native SDK)
- kotlinx-serialization: 1.8.1 (matches native SDK)
- Native SDK: 1.7.1 → 1.7.2 (Android and iOS)
- iOS deployment target: 11.0 → 15.1 (RN 0.79 requirement)
- peerDependencies: react-native >= 0.78.0
- Remove react-test-renderer (deprecated in React 19)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tekinalper tekinalper force-pushed the feature/upgrade-rn-079-kotlin-221 branch from ac96a95 to c91e847 Compare March 14, 2026 00:05
@tekinalper
Copy link
Copy Markdown
Collaborator Author

Reviewed & tested

@tekinalper tekinalper merged commit 7e83e8d into develop Mar 14, 2026
2 checks passed
@tekinalper tekinalper deleted the feature/upgrade-rn-079-kotlin-221 branch March 14, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant