Frequently Asked Question

How to update the Radaee PDF Library to the latest version (Classic/Master iOS)?
Last Updated 21 days ago 54 views

This article explains how to update your Radaee PDF Library for iOS from an older release to the latest version. Proper synchronization between the native library and source files is essential for stability.

IMPORTANT: We strongly recommend updating the entire PDFViewer folder (including the native library and all source files) at the same time. Since the Objective-C source files encapsulate the native library, updating only one component may introduce unpredictable issues.

1. Where to get the latest update

The latest update for Radaee PDF Library for iOS is available on our official GitHub repository:

2. Replace Files and Update Activation

The activation method was updated on 2022-03-10. Older versions required a bundle ID, email, and company name; the latest version only requires the serial key.

Steps to update:

  1. Download or Clone the latest update from the GitHub link above.
  2. Replace the PDFViewer folder in your project with the new one. Ensure the following subfolders are updated:
    • PDFLib/ (contains libRDPDFLib.a and PDFIOS.h)
    • PDFLayout/ (contains RDVGlobal.h/m)
    • PDFView/, PDFReader/, RDPlugin/, RDFileCollection/
  3. Modify the activation code: Remove the old parameters (g_id, g_company, g_mail) and use only the new serial key.

Old Code (Before March 2022):

g_id = [[NSBundle mainBundle] bundleIdentifier];
g_company = @"radaee";
g_mail = @"[email protected]";
g_serial = @"YOUR_OLD_KEY";
[RDVGlobal Init];

New Code (Latest Version):

g_serial = @"[YOUR_ACTIVATION_KEY]";
[RDVGlobal Init];

3. Checking Activation Status

You should typically invoke the activation in your AppDelegate. To verify the status, check the Xcode console output after calling [RDVGlobal Init].

The library internally executes the following check:

BOOL isActive = (Global_active(g_serial) > 0);
if (isActive)
    NSLog(@"License active");
else
    NSLog(@"License not active");

License Type Reference Table (Global_active return values):

Value Activation Result
0 Failed to activate
1 Standard Edition
2 Professional Edition
3 Premium Edition

Loading ...