How to encript html and jsvascrit code?

Hello sir,
I have uploaded a ionic project to apple store. I just download ipa from apple store and change extension with zip. But problem is that i have seen all my HTML and JavaScript code after upzip.

Is it possible to hide original code ?

Please help me…

Encrypt isn’t the right word here, that would leave the code unable to be executed, but you can run your code through something like Uglify to make it less readable, but that can still be reverse engineered with some effort.

It’s best to treat your applications like a normal website, the client side code is viewable by everyone just like a normal website is, and anything secure or private should happen on a server that your app interfaces with. It shouldn’t be necessary to worry about users viewing your client side code.