Skip to content

chore: [SDK-5818] upgrade demos to React Native 0.88.1 (2/4) - #2019

Merged
fadi-george merged 1 commit into
fadi-sdk-5818from
fadi-sdk-5818-demo-rn-088
Nov 21, 2026
Merged

fadi-george merged 1 commit into
fadi-sdk-5818from
fadi-sdk-5818-demo-rn-088

Conversation

@fadi-george

@fadi-george fadi-george commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Description

One Line Summary

Upgrade examples/demo and examples/demo-no-location from React Native 0.84.0 to 0.88.1.

Details

Motivation

React Native's Swift Package Manager mode needs 0.87 or later. PR 4 moves the demo to it.

Scope

  • Upgrade-helper changes for 0.84 → 0.88.1: RN/React/CLI versions, build tools and compile SDK 37, Kotlin 2.2, Gradle 9.4.1 wrapper, AGP 9 opt-outs, nkf gem. The demos were already on the UIScene lifecycle. edgeToEdgeEnabled and status bar appearance are left as they were.
  • Bumped react-native-screens, safe-area-context, svg, and @react-navigation/* within their ranges; screens 4.24 doesn't compile against 0.88 (RCTCxxBridge).
  • TypeScript fixes for 0.88: View/ScrollView refs typed with React.ComponentRef<typeof X>, and the removed StatusBar.backgroundColor prop dropped (it was already a no-op on Android 15+ edge-to-edge).
  • demo-no-location's Podfile.lock was still on XCFramework 5.5.2; refreshed to 5.8.1.
  • SDK code is unchanged.

Stack

  1. feat: [SDK-5818] add Package.swift for React Native SPM mode (1/4) #2018 Package.swift
  2. chore: [SDK-5818] upgrade demos to React Native 0.88.1 (2/4) #2019 Upgrade demos to RN 0.88.1 (this PR)
  3. chore: [SDK-5818] add CocoaPods demo-pods app (3/4) #2020 Add CocoaPods demo-pods app
  4. chore: [SDK-5818] build the demo with Swift Package Manager (4/4) #2021 Build the demo with Swift Package Manager

Testing

Manual testing

  • iOS Release builds of both demos; demo installed and run on an iOS 27 simulator: init, user + push subscription, permission prompt, language dropdown (exercises the retyped ref).
  • Android: assembleDebug for both demos; demo release APK built with the E2E command (assembleRelease -PciSingleAbi) and launched on a new Android 16 emulator, where it registered a push subscription.
  • tsc --noEmit clean for both demos.

Affected code checklist

  • Notifications
    • Display
    • Open
    • Push Processing
    • Confirm Deliveries
  • Outcomes
  • Sessions
  • In-App Messaging
  • REST API requests
  • Public API changes

Checklist

Overview

  • I have filled out all REQUIRED sections above
  • PR does one thing
  • Any Public API changes are explained in the PR details and conform to existing APIs

Testing

  • I have included test coverage for these changes, or explained why they are not needed
  • All automated tests pass, or I explained why that is not possible
  • I have personally tested this on my device, or explained why that is not possible

Final pass

  • Code is as readable as possible.
  • I have reviewed this PR myself, ensuring it meets each checklist item

🤖 Generated with Claude Code

Prerequisite for building the demo with React Native's Swift Package
Manager mode, which needs 0.87 or later. Applies the upgrade-helper
changes, bumps native dependencies that no longer compile against 0.88,
and fixes the TypeScript errors from 0.88's function-component types
and the removed StatusBar backgroundColor prop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fadi-george
fadi-george force-pushed the fadi-sdk-5818-demo-rn-088 branch from fd65783 to 7d9ceb4 Compare November 21, 2026 02:07
@fadi-george
fadi-george merged commit 88ac8bf into main Nov 21, 2026
2 checks passed
@fadi-george
fadi-george deleted the fadi-sdk-5818-demo-rn-088 branch November 21, 2026 02:28
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.

2 participants