Skip to content

React native hermes bundle with plain text warnings #1437

Open
@filipecarvalho10

Description

@filipecarvalho10

Description

When assembling a react native app with graphql, the generated bundle has plain text warnings showing queries and mutations in plain text.

Steps to reproduce

  1. Install dependencies with npm i
  2. Assemble the bundle with cd android && ./gradlew bundleRelease
  3. Preview the bundle on /android/app/build/generated/assets/createBundleReleaseJsAndAssets
  4. Verify that queries and mutations are there in plain text

React Native Version

0.77.1

Affected Platforms

Build - Linux

Output of npx @react-native-community/cli info

System:
  OS: Linux 6.2 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
  CPU: (16) x64 AMD Ryzen 7 7840HS with Radeon 780M Graphics
  Memory: 2.82 GB / 27.09 GB
  Shell:
    version: 5.2.21
    path: /bin/bash
Binaries:
  Node:
    version: 22.13.0
    path: ~/.nvm/versions/node/v22.13.0/bin/node
  Yarn: Not Found
  npm:
    version: 11.1.0
    path: ~/.nvm/versions/node/v22.13.0/bin/npm
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
Languages:
  Java:
    version: 17.0.14
    path: /usr/bin/javac
  Ruby:
    version: 3.3.0
    path: /home/linuxbrew/.linuxbrew/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.77.1
    wanted: 0.77.1
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

Stacktrace or Logs

Not available

Reproducer

https://github.com/filipecarvalho10/react-native-template

Screenshots and Videos

Image

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions