Use ProGuard Trigger "Rendered by radaee " - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Use ProGuard Trigger "Rendered by radaee "

Use ProGuard Trigger "Rendered by radaee " 2 years 8 months ago #10403

  • amrsho
  • amrsho's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 1
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.

Please Log in or Create an account to join the conversation.

Use ProGuard Trigger "Rendered by radaee " 2 years 8 months ago #10406

  • amrsho
  • amrsho's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 1
Hi all,
After many trials and errors I've found that using this configuration below:
-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.
The following user(s) said Thank You: Davide

Please Log in or Create an account to join the conversation.

Use ProGuard Trigger "Rendered by radaee " 2 years 8 months ago #10407

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 18
  • Thank you received: 65
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!

Please Log in or Create an account to join the conversation.

Last edit: by Davide.
  • Page:
  • 1
Powered by Kunena Forum