SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
Hi,
I wanted to try the V3 beta for iOS in objective-c but I don’t know how to format the string with the new license key.
Neither this (as found here: https://www.scichart.com/beta-edition-of-scichart-mobile-sdk-v3-now-available/):
[SCIChartSurface setRuntimeLicenseKey:@""
"{"
"\"ActivatedBy\": null,"
"\"Customer\": \"Anyone\","
"\"DeveloperCount\": null,"
"\"ExpiryDate\": \"2019-12-21\","
"\"Features\": ["
"\"WPF-2D\","
"\"AND-2D\","
"\"iOS-2D\","
"\"WPF-3D\","
"\"AND-3D\","
"\"iOS-3D\""
"],"
"\"IsTrialLicense\": true,"
"\"KeyCode\":" "gRPFuMCiB0otJzffhGFJO09BtH3drfoDZV5pAkQNv9hyHJsfBsCr42BHRJ/oz2ib2uEgT33IYW3fGKExB4KPUbrNOeKazYrMI8pD5OJVlDoRXuJdY97iUZU2jNHRnXN0cgpBdqcQTWgW/afd9pYwcYT5P22sklCSrtTdwcuyepiLE9Ap9B2ixMVpoB43Yj79g1/yKzgPQaAmW38hjDyByQwxCQ9R88Jt4JqQRVQUhYxj31CFoX7Upm36oP32WGbEEex4E1qHTY+KALouRnA9JQZej13V4MjwF45xuQNiUDbk3RHtyJwWEjwGS9jHh24WiTj1aOaw8PAfBmKZl2FKfKSL7Q7Nu9jtUgZdGUbpZTKYrASpoVQiVk2/+1xAA8dB/7RdsjXVVrXf1RnMg8dNXsY7gcJJ25SF4QmZwqa82Dl+PnXGq0BSvfLaSrSl8uWkimTt0D/FwvaVqvpzomORpStboVNroTAcbaBJRIOK6tZDFwBj3qQV1N470/XW3aKHckN7GrNOpS7xpZ/EM9k=,"
"\"MachineId\": null,"
"\"OrderId\": \"BETA trial key\","
"\"ProductCode\": \"SC-BUNDLE-SDK-PRO\","
"\"SerialKey\": null,"
"\"TicketQuantity\": null"
"}"
""];
or this (old format style):
[SCIChartSurface setRuntimeLicenseKey:@""
"<LicenseContract>"
"<Customer>Anyone</Customer>"
"<OrderId>BETA trial key</OrderId>"
"<LicenseCount>1</LicenseCount>"
"<IsTrialLicense>true</IsTrialLicense>"
"<SupportExpires>2019-12-21</SupportExpires>"
"<ProductCode>SC-BUNDLE-SDK-PRO</ProductCode>"
"<DeveloperCount>null</DeveloperCount>"
"<MachineID>null</MachineID>"
"<SerialKey>null</SerialKey>"
"TicketQuantity>null</TicketQuantity>"
"<Features>[WPF-2D, AND-2D, iOS-2D, WPF-3D, AND-3D, iOS-3D]</Features>" "<KeyCode>gRPFuMCiB0otJzffhGFJO09BtH3drfoDZV5pAkQNv9hyHJsfBsCr42BHRJ/oz2ib2uEgT33IYW3fGKExB4KPUbrNOeKazYrMI8pD5OJVlDoRXuJdY97iUZU2jNHRnXN0cgpBdqcQTWgW/afd9pYwcYT5P22sklCSrtTdwcuyepiLE9Ap9B2ixMVpoB43Yj79g1/yKzgPQaAmW38hjDyByQwxCQ9R88Jt4JqQRVQUhYxj31CFoX7Upm36oP32WGbEEex4E1qHTY+KALouRnA9JQZej13V4MjwF45xuQNiUDbk3RHtyJwWEjwGS9jHh24WiTj1aOaw8PAfBmKZl2FKfKSL7Q7Nu9jtUgZdGUbpZTKYrASpoVQiVk2/+1xAA8dB/7RdsjXVVrXf1RnMg8dNXsY7gcJJ25SF4QmZwqa82Dl+PnXGq0BSvfLaSrSl8uWkimTt0D/FwvaVqvpzomORpStboVNroTAcbaBJRIOK6tZDFwBj3qQV1N470/XW3aKHckN7GrNOpS7xpZ/EM9k=</KeyCode>"
"</LicenseContract>"
];
worked.
I always get the message “Sorry! Your license token appears to be invalid. etc.”
What’s the right way?
Best regards,
Johannes
Hi Johannes
For SciChart IOS v3 we are still refinining the licensing mechanism. You can now use this to set a BETA license key
// iOS (Swift)
SCIChartSurface.setRuntimeLicenseKey("gRPFuMCiB0otJzffhGFJO09Bt....");
// Android
SciChartSurface.setRuntimeLicenseKey("gRPFuMCiB0otJzffhGFJO09Bt....");
// Xamarin.iOS
SciChart.iOS.Charting.SCIChartSurface.SetRuntimeLicenseKey("gRPFuMCiB0otJzffhGFJO09Bt....");
// Xamarin.Android
SciChart.Charting.Visuals.SciChartSurface.SetRuntimeLicenseKey("gRPFuMCiB0otJzffhGFJO09Bt....");
Get the full license key from the updated page here
https://www.scichart.com/beta-edition-of-scichart-mobile-sdk-v3-now-available/
Best regards,
Andrew
Please login first to submit.