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
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
Related Questions
- → Make a Laravel collection into angular array (octobercms)
- → Laravel {!! Form::open() !!} doesn't work within AngularJS
- → Angularjs not working inside laravel form
- → Analysis of Flux implementations
- → how to write react component to construct HTML DOM
- → angular ng-repeat and images in a row
- → Conditional BG Color on AngularJS
- → Should I 'use strict' for every single javascript function I write?
- → getting the correct record in Angular with a json feed and passed data
- → "Undefined is not a function" at .toBe fucntion
- → angularjs data binding issue
- → Angular / JavaScript auto hydrate an instance
- → Convert generic text string in json object into valid url using Angular
Ad