Draft: Update Quickstart for React Native to v5 - DO NOT MERGE#267
Draft
Aaron LaBeau (biozal) wants to merge 3 commits intomainfrom
Draft
Draft: Update Quickstart for React Native to v5 - DO NOT MERGE#267Aaron LaBeau (biozal) wants to merge 3 commits intomainfrom
Aaron LaBeau (biozal) wants to merge 3 commits intomainfrom
Conversation
- Migrate from Ditto v4 to v5 API (Ditto.open, DittoConfig, auth, sync, store) - Remove DITTO_WEBSOCKET_URL (replaced by server URL in DittoConfig) - Remove DQL_STRICT_MODE (defaults to false in v5) - Update DittoInfo component to show databaseId instead of appId - Add Android 12+ Bluetooth/WiFi Direct permissions for P2P sync - Add npm overrides for transitive dependency audit vulnerabilities - Add Jest test infrastructure (setup, mocks, config) - Bump @dittolive/ditto to 5.0.0-rc.2 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Xcode 26.2 or lower required due to fmt consteval bug in Ditto SDK. Gradle 8.12 or lower required with Kotlin 2.1.0. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…lnerabilities - Upgrade Expo SDK 54 → 55 (React 19.2, RN 0.83.4, Gradle 9.0) - Add init() call before Ditto.open() per v5 best practice - Add expo-build-properties with Kotlin 2.1.20 for Android builds - Add missing DITTO_AUTH_URL/DITTO_WEBSOCKET_URL env type declarations - Fix all npm audit vulnerabilities (fast-xml-parser → 5.7.1, @tootallnate/once → 3.0.1) - Remove deprecated edgeToEdgeEnabled from app.json (mandatory in Android 16) - Add Xcode 26.2 requirement to README - Add Expo-specific v5 migration guide (MIGRATION-EXPO-V5.md) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Ditto.open,DittoConfig, auth, sync, store)init()call beforeDitto.open()per v5 best practiceexpo-build-propertiesdependency with Kotlin 2.1.20 (required by v5 Ditto Expo plugin)DITTO_AUTH_URL/DITTO_WEBSOCKET_URLenv type declarationsfast-xml-parser→ 5.7.1,@tootallnate/once→ 3.0.1, pluslodash,@xmldom/xmldom,brace-expansion,yaml)edgeToEdgeEnabledfromapp.json(mandatory in Android 16 / SDK 55)MIGRATION-EXPO-V5.md)Build Verification
Known Issues
@dittolive/ditto@5.0.0-rc.2bundlesfmt 11.0.2which has aconstevalcompilation bug with Xcode 26.4's Clang. Build requires Xcode 26.2 or earlier.Test plan
🤖 Generated with Claude Code