Skip to content

Commit a932e10

Browse files
committed
added docs for emulatorPort
1 parent 43e059b commit a932e10

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/docs/options/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ functions: true
250250
// or
251251

252252
functions: {
253-
location: 'us-central1'
253+
location: 'us-central1',
254+
emulatorPort: 12345
254255
}
255256
```
256257

@@ -261,6 +262,15 @@ functions: {
261262

262263
More information [here](https://firebase.google.com/docs/functions/locations).
263264

265+
#### emulatorPort
266+
267+
- Type: `Integer`
268+
- Default: `null`
269+
270+
Sets up `useFunctionsEmulator("http://localhost:EMULATOR_PORT")` to point to a Cloud Functions emulator running locally instead of the productive one.
271+
272+
More information in the official Firebase [API Docs](https://firebase.google.com/docs/reference/android/com/google/firebase/functions/FirebaseFunctions.html#useFunctionsEmulator(java.lang.String)) and [Functions Docs](https://firebase.google.com/docs/functions/local-emulator).
273+
264274
### storage
265275

266276
Initializes Firebase Storage and makes it available via `$fireStorage` and `$fireStorageObj`.

0 commit comments

Comments
 (0)