How does Layer handle network connections and being offline?

 At the core, Layer acts as a big synchronization engine. We store a local copy of conversations and messages on each device, and all the fetching of conversations and messages occurs locally.

Layer handles all network connectivity so you don't need to worry about it.  If messages are sent while offline Layer will automatically queue up the messages for delivery. Our SDK will send the messages as soon as it gets a network connection. The Layer SDK also surfaces delegate methods on iOS and listeners on Android relative to connectivity.

Have more questions? Submit a request