Hi,
I am trying to implement an improvement for my app where the chart is hidden if the licence key is invalid. But I can’t find how to do that. If I enter an invalid key like shown in examples, the code never ends up in the catch clause. Is there any other way? Or is this a bug?
try {
SciChartSurface.setRuntimeLicenseKey(getString(R.string.sci_chart_runtime_licence_key));
} catch (Exception e) {
Elog.e("SciChart Error when setting the license", e);
}
- Evado Dev asked 2 years ago
- You must login to post comments
Hi Evado
No sorry, there isn’t a way to catch an invalid license key.
Since the key doesn’t change, just set it once and see if the chart shows a license warning or not. After that you won’t need to change it unless you renew or upgrade scichart.
- Andrew Burnett-Thompson answered 2 years ago
- You must login to post comments
Please login first to submit.