Ad

CONFIG Problem For Firebase Authentication In IONIC (Angular) Project

I made an IONIC project which can be authenticated with Facebook and Google and i put config file(in the picture) in the app.module.ts

Firebase Config For IONIC Angular

Is app.module.ts only seen by the developer?

  • Can user see this config file when user makes apk to code this project ?

  • Is this a bug that i made ? Do i have to make API for this ?

Ad

Answer

This can all be made public (client-side). This is intended for client configurations. If you look under the web section in the Firebase console you'll see that they tell developers to paste that in their client-side (JavaScript SDK) code.

Ad
source: stackoverflow.com
Ad