I use Ionic 3 with Firebase, but when I publish a PWA on the internet, if someone accesses the developer console, they can see all the code, this includes the connection strings etc. This is extremely insecure. How can I hide these files or make the code unreadable?
I hope you can help me, thanks in advance.
The APIKEY identifies your Firebase project on Google's servers. It's not a security risk for someone to know about it. In fact, they need to know this in order to interact with your Firebase project.
For information on how to protect all access data to your Firebase back-end services, read the Firebase Security Rules documentation.