Open chandlerding opened 4 years ago
This already exists: https://firebase.google.com/docs/reference/ios/firebasefirestore/api/reference/Classes/FIRFirestoreSettings#host
Cheers!
What about firebase-storage api?
Apologies--I read this after your comment on firebase/firebase-ios-sdk#1300, which was a Firestore specific issue.
What feature would you like to add
Allow override the default .googleapis.com hostname when calling API. For well-know reason the .googleapis.com is inaccessible in some place, however developers can host reverse proxy under their own domain name to workaround that.
How would you use it?
Add a method to allow developer customize the hostname when calling firebase apis that are hosted under googleapis.com. e.g. firebasestorage.googleapis.com