Skip to content

RNGP - Do not attempt to substring to 1024 while logging.#47509

Closed
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D65659586
Closed

RNGP - Do not attempt to substring to 1024 while logging.#47509
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D65659586

Conversation

@cortinico
Copy link
Copy Markdown
Contributor

Summary:
Fixes #47504

Changelog:
[Android] [Fixed] - RNGP - Do not attempt to substring to 1024 while logging

Differential Revision: D65659586

Summary:
Fixes facebook#47504

Changelog:
[Android] [Fixed] - RNGP - Do not attempt to substring to 1024 while logging

Differential Revision: D65659586
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 8, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D65659586

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cortinico in e64513b

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Nov 8, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in e64513b.

@woodrufs
Copy link
Copy Markdown

woodrufs commented Nov 8, 2024

Is there any work around for this? I am working on a turbo module and am following the steps in the docs to properly generate the code. I am getting this error when running the command to generate the android code here.

cd MyApp
yarn add ../RTNCalculator
cd android
./gradlew generateCodegenArtifactsFromSchema

I took the code change mentioned in the above comment that should fix this and used it to overwrite the code in MyApp/node_modules/@react-native/gradle-plugin/settings-plugin/src/main/kotlin/com/facebook/react/ReactSettingsExtension.kt, but I still get the error. Is there any way I can get around this?

I am using react native 0.76.1 and @react-native-community/cli v15.0.0.

Any help is greatly appreciated, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

error ---Range [0, 1024) out of bounds for length 51

4 participants