-
November 21st, 2022, 05:31 PM
#1
Custom TLCP version
Hey
Faced a problem on the IOS platform. In the current project, we use the official Flutter Lightstreamer package. For the Android platform, this works fine, but for IOS, the server drops the connection with the message: Unsupported protocol version
The main difference between platforms is the TLCP version, for Android it is 2.1.0, for IOS 2.4.0. Since version 7.0.3 is used on the server side and no upgrade is planned, I have to use TLCP version 2.1.0 on the client side. I have already tested IOS with Android config, everything is working fine, so is it possible to make the TLCP version customizable?
Last edited by kaera; November 21st, 2022 at 05:51 PM.
-
November 22nd, 2022, 07:47 AM
#2
Hello,
I am sorry but the TLCP version is not customizable because it is a requirement about the capabilities of the Lightstreamer Server which are needed by the plugin.
However the source code of the Flutter plugin is open source, so you can try to loose the requirements but only to some degree.
For example you can force the Flutter plugin, which depends on the Lightstreamer Swift Client SDK, to use the Swift Client 5.0.0-beta.4 instead of the version 5.0.0, which is the last released one. In that case the TLCP version requested is 2.3.0, which is a little better than 2.4.0 but still far from 2.1.0.
-
January 4th, 2023, 12:40 PM
#3
Hello @Alessandro
Thank you for answer. After update server side to the most recent version 7.3.2 the issue has been gone, but we hit with another issue. Please see the logs below
-
January 4th, 2023, 02:02 PM
#4
The log shows that you don’t have a license to use the iOS client library.
If you are evaluating the product, yon can use a demo license by putting the value DEMO in the elements <license_type> and <contract_id> of the file lightstreamer_edition_conf.xml of your Lightstreamer server installation.
Similar Threads
-
By msgiribabu in forum Adapter SDKs
Replies: 4
Last Post: February 3rd, 2011, 10:33 AM
-
By rd2008 in forum Client SDKs
Replies: 3
Last Post: October 30th, 2008, 10:25 AM
-
By indrajit in forum Adapter SDKs
Replies: 7
Last Post: March 19th, 2008, 08:31 AM
-
By rakeshxp in forum Client SDKs
Replies: 6
Last Post: August 7th, 2007, 08:55 AM
-
By Waddy in forum General
Replies: 3
Last Post: March 6th, 2007, 09:43 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:51 AM.
Bookmarks