Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Use ProGuard Trigger "Rendered by radaee "

More
10 years 6 months ago #10403 by amrsho
Hi Radaee Team,
Our company has an Android app that uses Radaee PDF for it's main functionality. Previously, we used older version of this library. It runs smoothly, and we happy with the functionality. And it's there on Google Play for about 1 and a half year.

These days, I tried to obvuscate this Android application, as part of our company;s policy. We use ProGuard. At the first try, I saw a problem with Math Float or something, I guess a class used by the old version Radaee PDF is depreceted, and Android Studio suggest me to use latest version of the library. Ok, then I download the latest release Radaee Android SDK, and follow the tutorial. I could build it, and I've called Global.Init() method from my PDF viewer activity, and we use our purchased profesional license. But unfortunately, when we ran the app, there is a watermark said 'Rendered by radaee ...' in the PDF viewer (that is likely indicates that it is failed to activate the license).

It was running good without watermark when I set minifyEnabled to false in gradle config (which means, we don't use ProGuard).

How we solve this issue? Obvuscation is part of our company policy.

FYI: I didn't change the old activity code.
More
10 years 6 months ago #10406 by amrsho
Hi all,
After many trials and errors I've found that using this configuration below:
Code:
-keepclasseswithmembernames class com.radae.** { *; } -dontwarn com.radae.** ... -keepdirectories <your-package-name>

finally works. I'm not sure is every lines are needed or not. Too glad that it's finally works.

I think someone is better write it down in the knowledge base. I mean suggested ProGuard configuration if you use Radaee PDF.
More
10 years 6 months ago - 10 years 6 months ago #10407 by Davide
Hi,
thanks for the feedback!
We will do some tests on it and we will write a knowledge base article as soon as possible..
Thanks again for your help!
Last edit: 10 years 6 months ago by Davide.
Time to create page: 0.403 seconds
Powered by Kunena Forum