Pre loader

Correct way of setting the runtime license for V3 beta in objective-c

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

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

Version
V3 beta
  • You must to post comments
0
0

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.

enter image description here

enter image description here

Activating a paid license

You can also now activate a paid license for all platforms in the same licensing wizard.

enter image description here

Best regards,
Andrew

  • You must to post comments
1
0

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

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies