initialize static method

void initialize({
  1. required String androidOnlineLicense,
  2. required String iosOnlineLicense,
})

Please enter your ComPDFKit license to initialize the ComPDFKit SDK.
This method is used for online license authentication In version 1.13.0, we have introduced a brand-new online authentication licensing scheme. By default, the ComPDFKit SDK performs online authentication. If you obtained your ComPDFKit License before the release of version 1.13.0, please use ComPDFKit.init
If you are unsure about the type of your license, please contact the ComPDFKit team..

samples:
online auth

ComPDFKit.initialize(androidOnlineLicense : 'your android platform compdfkit license', iosOnlineLicense: 'your ios platform compdfkit license')

Implementation

static void initialize({required String androidOnlineLicense,required String iosOnlineLicense}) {
  _methodChannel.invokeMethod('init_sdk_keys', {'androidOnlineLicense': androidOnlineLicense, 'iosOnlineLicense': iosOnlineLicense});
}