Skip to content

fix: RN iOS distribution#516

Open
abelonogov-ld wants to merge 1 commit intomainfrom
andrey/launch-rn
Open

fix: RN iOS distribution#516
abelonogov-ld wants to merge 1 commit intomainfrom
andrey/launch-rn

Conversation

@abelonogov-ld
Copy link
Copy Markdown
Contributor

@abelonogov-ld abelonogov-ld commented Apr 30, 2026

Summary

How did you test this change?

Are there any deployment considerations?


Note

Medium Risk
Moderate risk because it changes iOS CocoaPods/Xcode build settings and introduces new consumer-facing Podfile integration, which could impact app build behavior across RN/iOS toolchain variants.

Overview
Improves React Native iOS distribution/build reliability by documenting and shipping Podfile helper hooks (launchdarkly_sr_pre_install/launchdarkly_sr_post_install) that work around RN 0.83 + Xcode 26 + CocoaPods 1.16.x issues (missing modulemaps, explicit-modules build failures, and low deployment targets).

Updates the example app to use these helpers, disables RN CLI automatic pod installation (to avoid Bundler/CocoaPods pinning issues), and adds run-ios.sh/run-android.sh scripts to standardize local development runs.

Separately, switches Android observability logging to LDObserveLogging.adapter(), downgrades the example Gradle wrapper to 8.14.3, bumps example iOS pod versions/lockfiles, and removes the example .bundle/config.

Reviewed by Cursor Bugbot for commit e0e3dda. Bugbot is set up for automated code reviews on this repo. Configure here.

@abelonogov-ld abelonogov-ld requested a review from a team as a code owner April 30, 2026 19:48
fi

# --- Metro ---
metro_running() { curl -fsS --max-time 1 http://localhost:8081/status 2>/dev/null | grep -q "packager-status:running"; }
fi

# --- Metro ---
metro_running() { curl -fsS --max-time 1 http://localhost:8081/status 2>/dev/null | grep -q "packager-status:running"; }
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e0e3dda. Configure here.

end
agg.user_project.save
end
end
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Scripts directory excluded from npm package distribution

High Severity

The new scripts/podfile_setup.rb file won't be included in the published npm package. The package.json files array lists only src, lib, android, ios, cpp, *.podspec, and react-native.config.js — it does not include scripts. Consumers following the README's require_relative instruction will get a LoadError at pod install time because the file simply won't exist in node_modules.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit e0e3dda. Configure here.

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