Marketo / android-sdk

The Marketo Mobile SDK allows integration with Marketo Mobile Engagement.
Other
7 stars 5 forks source link

Proguard issue #14

Closed dorozhans closed 5 years ago

dorozhans commented 5 years ago

Hi, I'm using proguard with Marketo version 0.7.7 and after adding this library to my project I can't make a build 'cause I have some troubles with proguard. I've added these lines to rules: -dontwarn com.marketo. -dontnote com.marketo. -keep class com.marketo.*{ ; }

But it's not enough as I see. Also, I don't know what is an error here and how fix it, could you review it? The first one is output without Marketo. The second one - when marketo is in the project.

  1. https://prnt.sc/li86ix
  2. http://prntscr.com/li886h
dorozhans commented 5 years ago

The main differrence that I've found is: Note: marketo.b.a: can't find dynamically referenced class android.os.SystemProperties

pandemanish commented 5 years ago

@dorozhans We have tested many scenarios where we added the Marketo Android SDK 0.7.7 & 0.7.8 (latest) and added Pro-guard settings and were able to generate APK without any issue. Can you please provide more detailed logs on this Issue?

pandemanish commented 5 years ago

Closing due to no response