I'm trying to create an expo app without the use of a server as a middleman between the front end and firestore. Via the firestore quickstart ref and expo firestore quickstart (see bottom), it says to initialize a cloud firestore app by passing in an API key to the following function:
// Initialize Cloud Firestore through Firebase
firebase.initializeApp({
apiKey: '### FIREBASE API KEY ###',
authDomain: '### FIREBASE AUTH DOMAIN ###',
projectId: '### CLOUD FIRESTORE PROJECT ID ###'
});
var db = firebase.firestore();
However this javascript code will be run on the client side. Doesn't this expose your API key to a user?