The Chat Demo is a very simple chat application based on Lightstreamer.
This project contains an example of an application for iPhone that employs the Lightstreamer Swift Client library, with use of mobile push notifications (MPN).
This app, compatible with iPhone, is a Swift version of the Lightstreamer - Basic Chat Demo - HTML Client.
This app uses the Swift Client API for Lightstreamer to handle the communications with Lightstreamer Server. A simple user interface is implemented to display the real-time messages received from Lightstreamer Server. Additionally, the app is able to forward incoming messages via mobile push notifications to any registered client.
Further details about developing apps on iOS with Lightstreamer and MPNs are discussed in this blog post:
Binaries for the application are not provided.
Binaries for the application are not provided, but a full Xcode project is provided. Please recall that you need a valid iOS Developer Program membership to debug or deploy your app on a test device.
A full local deploy of this app requires a Lightstreamer Server 7.0 or greater installation with appropriate Mobile Push Notifications (MPN) module configuration. A detailed step by step guide for setting up the server and configuring the client is available in the README of the following project:
- Lightstreamer - Basic Chat Demo - Java Adapter
- Lightstreamer - MPN Chat Demo Metadata - Java Adapter
- Lightstreamer - Basic Chat Demo - HTML Client
- Lightstreamer - Stock-List Demo - iOS Client
- Lightstreamer - Stock-List Demo with APNs Push Notifications- iOS Client
- Code compatible with Lightstreamer Swift Client Library version 5.0.0 or newer.
- Build instructions compatible with Lightstreamer Swift Client SDK version 5.0.0 or newer.
- For Lightstreamer Server version 7.0 or greater. Ensure that iOS Client SDK is supported by Lightstreamer Server license configuration.
- For a version of this example compatible with Lightstreamer iOS Client SDK versions up to 4, please refer to this tag.