Skip to content

feat: ability to resume session with same clientID #2

Description

@debarkamondal

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

This project by default uses a random UUID for every connection to the mqtt broker with cleanSession set to true which thinks it's a new device/connection and all the messages in the offline queue is dropped

Library version

0.3.2

Environment info

Running on Expo dev build on a real android device. Using Macbook for dev purposes

Steps to reproduce

  1. Disconnect the mqtt connection
  2. Reconnect ( automatically sets new clientID & cleansession to true)

Reproducible example repository

https://github.com/debarkamondal/khamoshchat-mobile

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions