---
title: "Discussion on \"How to obfuscate sensitive config files in React Native\" | Hashnode"
description: "Discussion on \"How to obfuscate sensitive config files in React Native\". Even with hermes enabled in release build, there is case where APIs, tokens or keys exposed in index.android.bundle as readable strings, we definitely want to avoid it.\nSo here is a simple way to obfuscate such files:\n1) Add javascript-obfuscator pac..."
url: "https://hashnode.com/posts/how-to-obfuscate-sensitive-config-files-in-react-native/620bd7657cf10d2765e28117"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to obfuscate sensitive config files in React Native](https://4j17h.dev/how-to-obfuscate-sensitive-config-files-in-react-native?utm_source=hashnode&utm_medium=feed)

Even with hermes enabled in release build, there is case where APIs, tokens or keys exposed in index.android.bundle as readable strings, we definitely want to avoid it. So here is a simple way to obfuscate such files: 1) Add javascript-obfuscator pac...

Feb 15, 2022 · 1 min read · 4j17h.dev  
Read the article

-   [#react-native](https://hashnode.com/tag/react-native)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Ajith T](https://hashnode.com/@4j17h)

@4j17h · INDIA

  
[View profile](https://hashnode.com/@4j17h)

Full Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
