firebase / firebase/quickstart-unity

[FR][Database] Support connection to local Firebase emulator (Android/iOS/desktop)

Open
#868 6 comments 9 reactions 0 assignees View on GitHub
api: database type: feature request
Dominant language
C#
Stars
923
Forks
456
PR merge metrics
No merged PRs in 30d

Description

### [REQUIRED] Please fill in the following fields:

* Unity editor version: 2020.1.9 personal
* Firebase Unity SDK version: 6.15.2
* Source you installed the SDK: 6.15.2 (.unitypackage or Unity Package Manager)
* Problematic Firebase Component: firebase databse realtime (Auth, Database, etc.)
* Other Firebase Components in use: firestore, functions(Auth, Database, etc.)
* Additional SDKs you are using: none (Facebook, AdMob, etc.)
* Platform you are using the Unity editor on: windows (Mac, Windows, or Linux)
* Platform you are targeting: iOS, Android, desktop (iOS, Android, and/or desktop)
* Scripting Runtime: Mono (Mono, and/or IL2CPP)

### [REQUIRED] Please describe the issue here:

(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)

#### Steps to reproduce:
Hi, I'm currently having a problem with the value change listening event in Unity. I use Firebase emulator locally. I just get the snapshot with null value. Can you help me solve this problem. Thanks.

![99405483-65963580-291f-11eb-8a93-3442adb486d8](https://user-images.githubusercontent.com/36669308/99461840-18d54d80-2965-11eb-8596-58b763a5edb4.png)
![99405328-38e21e00-291f-11eb-9690-3ec9bd84eeeb](https://user-images.githubusercontent.com/36669308/99461844-1a9f1100-2965-11eb-9f78-9fe34dbbe4d5.png)

This code is working when I use firebase database realtime on cloud.

Contributor guide

Open the contributing guide

Research direction

The issue does not name a source file, test, or entry point. Start by locating the Unity Realtime Database quickstart and its local Firebase emulator usage, then reproduce the value-change listener scenario with the stated SDK and platforms. Done means the emulator connection behavior is supported or the limitation is clearly documented and covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
databases, desktop-dev, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.