Search code examples
iosswiftlocationchatquickblox

How can I Add Friends in my QuickBlox Chat in Swift


I searched the quickblox documents but couldn't find API to add users/friends to my chat account. I am building an app which requires user to have their own personal chat account. Also, I need to retrieve those user's current location. Please help!


Solution

  • when you want retrive current location of user : ask your developer to add additional parameter 1)Latitude 2)Longitude

    you can get user's current location by CLLocationManager

    now in registrartion webservice add this parameter

    you can retrive user's currentlocation