Skip to content

Conversation

okwasniewski
Copy link
Collaborator

PR Description

This PR fixes compilation issues for macOS.

Copy link

changeset-bot bot commented Oct 4, 2025

🦋 Changeset detected

Latest commit: d1fdfe6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
react-native-bottom-tabs Patch
@bottom-tabs/expo-template Patch
@bottom-tabs/react-navigation Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@okwasniewski okwasniewski requested a review from Copilot October 4, 2025 13:46
Copy link

@Copilot 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 fixes compilation issues for macOS by adding platform-specific conditional compilation directives and handling macOS-specific differences in the React Native bottom tabs implementation.

Key changes:

  • Added macOS conditional compilation guards to prevent iOS-only code from executing on macOS
  • Updated type signatures to use cross-platform types (PlatformView instead of UIView)
  • Added macOS-specific implementations and default values

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
TabViewProvider.swift Added macOS guards for backgroundColor setting and updated insertChild parameter type
TabViewProps.swift Added macOS availability annotation and platform-specific MinimizeBehavior conversion
TabViewImpl.swift Added macOS conditional compilation guards around iOS-specific appearance updates
TabBarFontSize.swift Added macOS import and default font size handling
.changeset/busy-seals-relax.md Added changeset documentation for the macOS fix

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

@okwasniewski okwasniewski merged commit e308c90 into main Oct 4, 2025
5 checks passed
@okwasniewski okwasniewski deleted the fix/macos-support branch October 4, 2025 14:13
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