Proguard-project.txt (android)

Discussion in 'Technical Discussion' started by Christoph, Feb 24, 2017.

  1. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    So I recently built push notifications (onesignal) in a game of mine and came across this file:
    proguard-project.txt

    OneSignal needs some special settings in this file IF it is enabled. Then I saw that Heyzap Mediation (specifically Unity-Ads and Vungle) need as well some special settings IF it is enabled. This is the first time I saw anyone talking about that so my question @Andy is:

    Does Buildbox use Proguard? Is it enabled?
     
  2. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    No, it does not. you need to manually add and configure it if you want to use it.
     
    Christoph likes this.
  3. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    Thanks Trudnai. So why is it there then? And why has it entries already? How would I enable it or how can I see that it is enabled?

    And last not least, if it is not enabled I don't have to care about the additional code for this file when implementing OneSignal or Heyzap right? It would ignore it anyway then I guess.

    Ps: just to make it clear, when exporting a Android build it creates the proguard file automatically. It's not something I put in the project.
     
  4. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    @Andy? Any information regarding the proguard file? Is it active?
     
  5. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,192
    Likes Received:
    540
  6. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    I don't think that this answers my question regarding if the file is active or not. :(
     
  7. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    Check project.properties for the info about activating proguard.
     
  8. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    So this means it is NOT activated by default, right? I don't want to activate it, if it is disabled, that's good as well... just need to know if I have to use the extra code in my projects or not... :)
     
  9. Rainyday

    Rainyday Avid Boxer

    Joined:
    Nov 21, 2016
    Messages:
    116
    Likes Received:
    41
    Interesting ...
     

Share This Page