Skip to content

useFunctionsEmulator not working with region #2510

Open
@ThewBear

Description

@ThewBear

[REQUIRED] Describe your environment

  • Operating System version: Windows 10
  • Browser version: Chrome 79
  • Firebase SDK version: 7.6.1
  • Firebase Product: Functions

[REQUIRED] Describe the problem

Emulator url will be ignored and call to cloudfunctions.net instead when setting region.

Relevant Code:

firebase.functions().useFunctionsEmulator("http://localhost:5001");

// This will call to cloudfunctions.net
firebase.app().functions("asia-east2").httpsCallable(<FnName>);

// This will call to localhost
firebase.app().functions().httpsCallable(<FnName>);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions