Pre loader

SciChart iOS Licensing v3.x

Categories

SciChart iOS Licensing v3.x

In order to license SciChart iOS v3 and unlock all its features, there is a simple procedure which must be followed. Without this you won’t be able to compile and debug applications built with SciChart iOS. Licenses are unique to all SciChart products, so licenses for another products cannot be used for SciChart iOS Charts and vice versa.

Please be aware before starting usage of the SciChart software constitutes acceptance of the licensing terms & conditions. SciChart is licensed per-developer with a royalty-free redistribution rights for your applications. A helpful licensing FAQ can be found here.

If you wish to purchase a paid SciChart license, you can do so at the store.scichart.com. Likewise, you can download the framework at our scichart.com/downloads page.

Instructions for starting iOS Chart Trials

In SciChart iOS v3, trial licenses can be fetched with the cross platform licensing wizard. Trial licenses and technical support are tied to a SciChart account, so if you don’t have one, then head over to scichart.com/login and create an account now.

Download the licensing wizard from here and install on your Mac desktop.

Once installed, and you have logged in with scichart.com account, you can start a trial in your chosen platform as follows:

Apply the trial to your application by viewing the KeyCode on the Licensing Wizard.

The KeyCode must be placed in your application once before any SciChartSurface is shown or instantiated, for example AppDelegate (see below).

Applying the Trial License in Your App

The KeyCode must be set in your app once, and once only before any SciChartSurface instance is shown. Do this by calling the static SciChartSurface.SetRuntimeLicenseKey() method in AppDelegate.

Code samples below:

//
//  AppDelegate.swift
//  SciChartSwiftDemo
//
 
import UIKit
import SciChart

@UIApplicationMain

class SCSAppDelegate: UIResponder, UIApplicationDelegate {

 var window: UIWindow?

 func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

        // Note! This is just an example. 
        // The real License KeyCode is found by following steps above
        SCIChartSurface.setRuntimeLicenseKey("YOUR_KEYCODE")
 
        return true
 }

}
//
//  AppDelegate.m
//  SciChartDemo
//
 
#import "AppDelegate.h"
#import "SCDConstants.h"
 
// NOTE: Import SciChart.h 
#import <SciChart/SciChart.h> 
 
@interface AppDelegate ()
 
@end
 
@implementation AppDelegate
 
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
     
    // Note! This is just an example. 
    // The real License KeyCode is found by following steps above
    [SCIChartSurface setRuntimeLicenseKey:@"YOUR_KEYCODE"];
     
    //...    
    return YES;
}
 
@end
using Foundation;
using UIKit;
using SciChart;

namespace XamarinTestingLicensing
{
    // The UIApplicationDelegate for the application. This class is responsible for launching the
    // User Interface of the application, as well as listening (and optionally responding) to application events from iOS.
    [Register("AppDelegate")]
    public class AppDelegate : UIApplicationDelegate
    {
        // class-level declarations

        public override UIWindow Window
        {
            get;
            set;
        }

        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // Override point for customization after application launch.
            // If not required for your application you can safely delete this method
 
            SciChart.iOS.Charting.SCIChartSurface.SetRuntimeLicenseKey("YOUR_KEYCODE");

            return true;
        }
    }
}

Activating a Paid SciChart iOS License

If you have purchased SciChart iOS v3, you should have received a confirmation e-mail with a Developer Serial key and Runtime key. You can also view purchased license keys and serials in your Profile Page. If you don’t have one, please contact SciChart Sales.

SciChart Licensing Email Examplef
SciChart Licensing Email Example
 

To activate the license so that you can receive Technical Support, download the cross platform licensing wizard and install on your Mac desktop.

Once installed, and you have logged in with scichart.com account, you can activate the developer serial you received when you purchased.

After activation you will see your license status on the wizard homepage. You can click ‘Runtime key’ to show the runtime license key that you must include in your app.

The KeyCode must be placed in your application once before any SciChartSurface is shown or instantiated, for example AppDelegate (see below).

Applying the Runtime License in Your App

The KeyCode must be set in your app once, and once only before any SciChartSurface instance is shown. Do this by calling the static SciChartSurface.SetRuntimeLicenseKey() method in AppDelegate.

Code samples below:

//
//  AppDelegate.swift
//  SciChartSwiftDemo
//
 
import UIKit
import SciChart

@UIApplicationMain

class SCSAppDelegate: UIResponder, UIApplicationDelegate {

 var window: UIWindow?

 func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

        // Note! This is just an example. 
        // The real License KeyCode is found by following steps above
        SCIChartSurface.setRuntimeLicenseKey("YOUR_KEYCODE")
 
        return true
 }

}
//
//  AppDelegate.m
//  SciChartDemo
//
 
#import "AppDelegate.h"
#import "SCDConstants.h"
 
// NOTE: Import SciChart.h 
#import <SciChart/SciChart.h> 
 
@interface AppDelegate ()
 
@end
 
@implementation AppDelegate
 
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
     
    // Note! This is just an example. 
    // The real License KeyCode is found by following steps above
    [SCIChartSurface setRuntimeLicenseKey:@"YOUR_KEYCODE"];
     
    //...    
    return YES;
}
 
@end
using Foundation;
using UIKit;
using SciChart;

namespace XamarinTestingLicensing
{
    // The UIApplicationDelegate for the application. This class is responsible for launching the
    // User Interface of the application, as well as listening (and optionally responding) to application events from iOS.
    [Register("AppDelegate")]
    public class AppDelegate : UIApplicationDelegate
    {
        // class-level declarations

        public override UIWindow Window
        {
            get;
            set;
        }

        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // Override point for customization after application launch.
            // If not required for your application you can safely delete this method
 
            SciChart.iOS.Charting.SCIChartSurface.SetRuntimeLicenseKey("YOUR_KEYCODE");

            return true;
        }
    }
}

Github Source Code Access

If you are a SciChart iOS Source-Code customer, you can now access the source code via our Github repository. To get access, please follow the steps below:

#1 Activate your SciChart License

You need to activate your SciChart License following the steps above ‘Activating a Paid License’.

#2 Link your account to Github

Now enter your Github Username in the box directly below. If you do not have a Github account, head over to www.github.com and register.

Note: You will need to be logged in to scichart to use the profile page. Please log in at or create an account at www.scichart.com/login if you haven’t already
#3 Respond to Invitation

You will receive an email with an invitation to join the SciChart iOS Github repository! Accept the invitation to get access!

Troubleshooting

If you cannot manage to get your application working with the license applied, please check out our licensing troubleshooting steps below or contact us and we will do our best to help.

Locating License Keys

Your serial key and developer runtime key is found in your License Certificate email and also online at www.scichart.com/profile. If you do not have either, please contact-us!

Trial Expired Problems

Sometimes people report that after distributing their application, the Trial Watermark still appears, or, end users see Trial Expired.

Follow the steps below to debug this.

  1. Check support expiry date: if your support subscription has expired, then you cannot use the latest versions of SciChart. You can check your support subscription at the profile page or in the cross platform licensing wizard. Contact sales to renew your license, as generous discounts are available if you renew promptly!
  2. Check the Runtime License Key is set: Follow the steps above to set your Trial or Paid Runtime License key. Without this, the app will not work!
  3. Ensure Runtime Key is set once, and once only: The SciChartSurface.SetRuntimeLicenseKey method must be called once and once only before any SciChartSurface is instantiated. The best place to do this is in AppDelegate.
By Andrew Burnett-Thompson | Dec 26, 2019
CEO / Founder of SciChart. Masters (MEng) and PhD in Electronics & Signal Processing.Follow me on LinkedIn for more SciChart content, or twitter at @drandrewbt.

Leave a Reply