-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement client-side Firebase Cloud Functions locations (#23)
* Implement client-side Firebase Cloud Functions locations Allows client-side Functions calls to remote functions using a supported Region (Android & iOS) or Custom Domain (iOS only). See https://firebase.google.com/docs/functions/locations#client-side_location_selection_for_callable_functions Adds a method to FirebaseApp ('functions') to set Region or CustomDomain. Example usage: firebase().app().functions("europe-west") See https://firebase.google.com/docs/reference/node/firebase.app.App#functions Example client-side call: firebase().functions().httpsCallable('functionName')() calls Cloud Function: exports functionName = functions.region('europe-west1')... See https://firebase.google.com/docs/functions/locations#best_practices_for_changing_region Supported regions: See https://firebase.google.com/docs/functions/locations By default functions run in the "us-central1" region, unless another region is selected. Android Functions Emulator: Set 'localhost' host to 10.0.2.2 * Update README.md file with usage instructions * Update README.md file with usage instructions * Clenaup README.md text
- Loading branch information
Showing
4 changed files
with
147 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters