Skip to content

Online initialization

Method: initialize(androidOnlineLicense : string, iosOnlineLicense : string)

Use your ComPDFKit commercial license key to initialize the ComPDFKit SDK using online authentication. Please contact our sales to obtain a trial license.

Parameters:

NameTypeDescription
androidOnlineLicensestringYour ComPDFKit for React Native Android online license key.
iosOnlineLicensestringYour ComPDFKit for React Native iOS online license key.

Returns a Promise.

NameTypeDescription
resultbooleanReturns true if initialization is successful, otherwise returns false.
tsx
ComPDFKit.initialize('android online license', 'ios online license')