Add Livefyre to your native mobile apps.
There are several options available for mobile implementations, depending on the extent of customization you plan to make:
Customers that open a web page on a mobile device automatically get a Livefyre content stream that’s optimized for mobile, including styling to fit the reduced screen size and modifications to handle touch events.
Note: When using a Livefyre App in an Android WebView, the Android WebSettings.setDomStorageEnabled parameter must be set to true. If localStorage is not enabled, Livefyre will not be able to log a user into the Livefyre App.
To optimize for mobile, Livefyre limits the Comments, Live Blog, and Chat App feature set to include:
* In Mobile Web Apps, clicking an author’s name opens hovercard information in a new page.
Livefyre also provides two mobile SDKs: an iOS SDK, and an Android SDK. These SDKs are wrappers around our HTTP endpoints, built to provide an easier method to send and receive data. No interface is provided with these SDKs, allowing greater flexibility with how the content is displayed and used within your mobile app.
The Android and iOS SDKs support the following features for Comments, Live Blog, and Chat:
The HTTP APIs are the group of endpoints that allows you to create conversations and content on the Livefyre platform. It also powers all Livefyre out of the box streams. While this solution requires more development time from your engineering team, it provides greater flexibility when using the Livefyre product suite, and allows for native mobile integration.
Learn more in the API Reference section.
Important Security Note: Do NOT create user authentication tokens within the mobile client, because this would require that you expose your Livefyre secret network key within an unsecured app. For a more robust and secure solution, please see the User Authentication Tokens section.