Am wondering if there's a way to not expose the apiKey
, authDomain
and projectId
when using the JavaScript SDK based on the examples here: https://firebase.google.com/docs/firestore/quickstart#initialize
// Initialize Cloud Firestore through Firebase
firebase.initializeApp({
apiKey: '### FIREBASE API KEY ###',
authDomain: '### FIREBASE AUTH DOMAIN ###',
projectId: '### CLOUD FIRESTORE PROJECT ID ###'
});
var db = firebase.firestore();
Would other people be able to initialize firestore with my configs if they're exposed?