Skip to content

A simple chat function with firebase realtime database and anonymous authentication.

Notifications You must be signed in to change notification settings

soemyatmin/public-chat-in-unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PublicChatInUnity

A simple chat function with firebase realtime database and anonymous authentication.

This project in using Unity version 2019.4.0f1 screen ratio => 9:16

Before you use this project:

  1. Create a firebase project

  2. Add the google-services.json via (project->setting->app)

  3. Allow anonymous login Anonymous

  4. Create a firebase realtime database RealtimeDatabase

the rule can be

{
  "rules": {
      ".write": "auth.uid != null"
      ".read": "auth.uid != null"
    }
}

or all public.

Flow Chart for Anonymous login FlowchartDiagram1

I use SimpleJSON and JSON .NET For Unity to easier to manage data. SimpleJSON => https://wiki.unity3d.com/index.php/SimpleJSON

JSON.NET For Unity => https://assetstore.unity.com/packages/tools/input-management/json-net-for-unity-11347

About

A simple chat function with firebase realtime database and anonymous authentication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages