Forums - Allplay SDK and ProGuard

2 posts / 0 new
Last post
Allplay SDK and ProGuard
Pinball Wizard
Join Date: 14 Apr 15
Posts: 50
Posted: Mon, 2015-10-19 15:09

If like me, when you run ProGuard, your AllPlay app suddenly starts crashing, it's because the default ProGuard rule-set needs changing to cope with the AllPlay library.  I would have hoped to see this in the official documentation, but it's not.   The fix, add the following to your Progurard rules file:

 

-keep class com.qualcomm.qce.** { *; }

 

That fixed it for me.  Hope it helps others.

  • Up0
  • Down0
daniel.tai Moderator
Join Date: 19 Oct 15
Location: San Jose
Posts: 32
Posted: Tue, 2015-10-27 17:20

Hi,

Thanks for pointing this out.  We will put this in the documentation.

Please try

-keep class com.qualcomm.qce.allplay.controllersdk.** { *; }

It will obfuscate slightly better.

Thanks again.

Daniel

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.