PDDStudio / GoogleUrlShortener

An easy to use Google URL Shortener Library
69 stars 16 forks source link

Generate shortUrl always null if building with Proguard. #3

Open sirisub opened 7 years ago

sirisub commented 7 years ago

Hi,

For the Generating shortUrl, It's working without Proguard. But using with Proguard , It's return null always. One more thing, I using JavascriptInterface in project and keep it already.

Thanks in advance Sirisub

PDDStudio commented 7 years ago

Hi Sirisub,

Can you try the following configuration:

-dontwarn okio.**
-dontwarn okhttp3.**
-keep class com.pddstudio:urlshortener.** { *; }

Let me know whether this helps. Regards