Code published is visible to all?

#1

Hi,

I’m thinking of publishing my project here on Expo. I was just wondering is it possible for users to see the code that I publish.

Thanks

#2

Hi,

You could have users scan the QR code of your app with the expo app installed on their phones.

#3

Yes that’s fine. That’s what I want actually I just don’t particularly want users to see the actual source code of the application.

#4

view the source of this website and open the js. here’s a link to one of the js files: https://sjc1.discourse-cdn.com/business5/brotli_asset/locales/en-9ed2ccc2486cd62492849a8092a15e8987f7c1e68c8be29baab420dae4b7633d.js

this is similar to what the user gets with expo when they run your app. it’s minified and pretty mangled so it doesn’t actually look like your original source code. but javascript is an interpreted language so that’s about as good as you can get. even if you were to use a language like c where you compile it down to machine code, it’s still not safe to put any sensitive information in your code (eg: api secrets, passwords).

closed #6

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.