0.5.3 • Published 3 months ago

@qte/react-native-firebase-chat v0.5.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@qte/react-native-firebase-chat

Firebase chats the qte way

Installation

npm install @qte/react-native-firebase-chat

Usage

Add the google-services.json to example/android/app and GoogleService-Info.plist to example/ios. These you can get from firebase

Firebase Data structure from @qte/nest-firebase-chat

├── users
│   └── userId
│       ├── name (string)
│       └── avatar (URL string)
└── chats
    └── chatId
        ├── creatorId (string)
        ├── creatorRef (reference to user document)
        ├── memberIds (array of references to user documents)
        ├── name (string)
        ├── lastMessage (reference to message document)
        ├── createdAt (ISO string)
        ├── updatedAt (ISO string)
        └── messages
            └── messageId
                ├── senderId (string)
                ├── senderRef (reference to user document)
                ├── content (string)
                ├── readByIds (array of references to user documents)
                ├── createdAt (ISO string)
                └── updatedAt (ISO string)

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.5.3

3 months ago

0.5.2

3 months ago

0.5.1

3 months ago

0.3.0

10 months ago

0.4.4

10 months ago

0.5.0

9 months ago

0.4.1

10 months ago

0.3.2

10 months ago

0.4.0

10 months ago

0.3.1

10 months ago

0.4.3

10 months ago

0.2.5

10 months ago

0.4.2

10 months ago

0.2.3

11 months ago

0.2.4

11 months ago

0.2.2

11 months ago

0.2.1

11 months ago

0.2.0

11 months ago