Skip to content

Conversation

@krozniata
Copy link
Member

@krozniata krozniata commented Nov 13, 2025

Summary

Updates assets and res srcDirs in RNSourceSets.kt file to match RN core and to ensure that bundle is correctly included in .aar

Test plan

  1. Build framework using updated plugin
  2. Check if bundle is present in .aar inside assets/ directory (rename .aar to .zip and extract contents)

Note

Include both legacy and new RN bundle asset/res paths in Gradle source sets; add troubleshooting docs and README link.

  • Gradle plugin (Android):
    • Update RNSourceSets.configureSourceSets to include RN bundle outputs for both RN <= 0.81 and RN >= 0.82 by sourcing assets and res from build/generated/{assets,res}/createBundleReleaseJsAndAssets and build/generated/{assets,res}/react/release.
  • Docs:
    • Add docs/TROUBLESHOOTING.md with guidance for Android duplicate resources after RN 0.82 and iOS "No script URL provided".
    • Update README.md with a new Troubleshooting section linking to the doc.

Written by Cursor Bugbot for commit 1763645. This will update automatically on new commits. Configure here.

Copy link

@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.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@krozniata krozniata merged commit 8f717f8 into main Nov 13, 2025
4 checks passed
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.

3 participants