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
- Johannes Spannagl asked 4 years ago
- You must login to post comments
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
- Andrew Burnett-Thompson answered 4 years ago
- last edited 4 years ago
- You must login to post comments
Update
You can now download the Cross Platform Licensing Wizard that enables you to start trial or activate a paid scichart iOS/android v3 license.
Starting a Trial
Follow the steps in the article to start a trial for scichart WPF v6, iOS or android v3.
Activating a paid license
You can also now activate a paid license for all platforms in the same licensing wizard.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 4 years ago
- You must login to post comments
Please login first to submit.