What happens when I send a message?

When you call layerClient.sendMessage on Android or [message send] on iOS, your message is immediately persisted to the local data store and enqueued for delivery. The method returns a BOOL value which returns true if the message object has passed validation and is enqueued for delivery.

If the client has an internet connection, a synchronization process is immediately kicked off which will send the message off of the device. If the device does not have a current connection, the message will remain enqueued in the local data store and will be immediately sent once the device establishes an internet connection.

Have more questions? Submit a request