Skip to content

Conversation

@scarlac
Copy link
Collaborator

@scarlac scarlac commented Aug 27, 2025

Upgraded example to RN 0.81

Added consistent example styles
Added node requirement specification
Removed SafeAreaView
Added dummy SafeAreaView implementation

From this PR and onward, we are only going to support new arch.

Added consistent example styles
Added node requirement specification
Removed SafeAreaView
Added dummy SafeAreaView implementation
@scarlac scarlac requested a review from Copilot August 27, 2025 01:41
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades the React Native example app from version 0.76.3 to 0.81.0, modernizing the project structure and dependencies. The upgrade includes implementing a custom SafeAreaView component, updating to React 19.1.0, enabling the new architecture, and removing test-related files.

Key changes:

  • Upgraded React Native from 0.76.3 to 0.81.0 and React from 18.3.1 to 19.1.0
  • Replaced built-in SafeAreaView with custom implementation to avoid deprecated imports
  • Enabled React Native's new architecture and updated iOS project structure

Reviewed Changes

Copilot reviewed 27 out of 31 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
example/package.json Updated React Native, React, and related dependencies to 0.81/19.1 versions
example/src/SafeAreaView.tsx Added custom SafeAreaView implementation to replace deprecated imports
example/src/CameraExample.tsx Updated imports to use custom SafeAreaView and removed unused imports
example/src/BarcodeScreenExample.tsx Updated to use custom SafeAreaView component
example/src/App.tsx Redesigned with dark theme and improved styling
example/ios/* Converted iOS project from Objective-C to Swift with new architecture support
example/android/* Updated Android build configuration for RN 0.81 compatibility
example/tsconfig.json Added TypeScript configuration extending RN 0.81 defaults

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@scarlac scarlac merged commit 000c610 into master Aug 27, 2025
3 of 4 checks passed
@scarlac scarlac deleted the rn81 branch August 27, 2025 01:43
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