Frequently Asked Question
This article explains how to update your Radaee PDF Library from an older release to the latest version. Follow these steps to ensure a smooth transition and proper license activation.
1. Where to get the latest update
The latest update for Radaee PDF Library is available on our official GitHub repository:
2. Activation and Code Modifications
Note that the activation method was updated on 2022-03-10. If your current version is older than this date, you will need a new activation key. If your version is newer, your current key will work.
Steps to update:
- Download or Clone the latest update from the GitHub link above.
- Replace the ViewLib project in your current solution with the new one from the downloaded package.
- Open the file:
ViewLib/src/main/java/com/radaee/pdf/Global.java - Locate Line 35 and update the activation key:
public static String mSerial = "YOUR_ACTIVATION_KEY";
Note: For versions released after March 2022, additional information such as email address and company name are no longer required for activation.
3. Checking Activation Status
You must invoke the Global.Init() method before using any other SDK methods:
Global.Init(this);
To verify if the library is activated correctly, check the licenseType returned by the native method at line 437 in Global.java:
int licenseType = active(act, mSerial);
License Type Reference Table:
| Value | Activation Result |
|---|---|
| 0 | Failed to activate |
| 1 | Standard Edition |
| 2 | Professional Edition |
| 3 | Premium Edition |