question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Obfuscated Hermes source code

See original GitHub issue

Environment

How do you use Sentry? SaaS

Which SDK and version?

Steps to Reproduce

  1. Setup project with RN 0.65.1
  2. Add SOURCEMAP_FILE=sourcemaps/main.jsbundle.map env variable to Bundle React Native code and images build step (iOS)
  3. Build project using Fastlane (gym)
  4. Upload source map and Hermes jsbundle using Fastlane as shown below. I assume no extra steps are needed as react-native-xcode.sh script already generates composed source map.

Zrzut ekranu 2021-10-6 o 22 35 48

Expected Result

Human readable source code for both iOS and Android.

Actual Result

Zrzut ekranu 2021-10-6 o 22 30 23 Zrzut ekranu 2021-10-6 o 22 46 28

Event: 39a2d269e91e47dd8325e508894f590f

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
dawidchyrzynskicommented, Nov 17, 2021

@marandaneto I’ll give it a try later this week and get back to you.

0reactions
marandanetocommented, Dec 20, 2021

Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated. Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it. Cheers!

Read more comments on GitHub >

github_iconTop Results From Across the Web

does hermes make the app build in bytecode in ios? is ...
So we moved to Hermes recently for on iOS. I wanted to know if any obfuscation is required or not as Hermes makes...
Read more >
JS code obfuscation for RN which works well with hermes?
How do i go about code obfuscation of JS in RN while using hermes. having a challenge here. need a way to do...
Read more >
React Native Security Driven App Development - Espirito
Minification and Obfuscation. This is a powerful method to ensure good source code security in the application. This method will convert and ...
Read more >
https://www.unpkg.com/react-native@0.63.4/ReactAnd...
This source code is licensed under the MIT license found in the # LICENSE file ... any project specific keep options here: #...
Read more >
Securing React Native Applications | Jscrambler Blog
While Hermes introduces a certain degree of complexity to the entry-file code, it doesn't obfuscate this code. An attacker may use an Android ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found