Search code examples
androidgradleaarapptentive

Apptentive Library - How to edit it's source code


I am using Apptentive .aar library in my project and I have to make changes in its values.xml file. How to achieve it. Any help should be greatly appreciated.


Solution

  • It is very simple.
    Since you have the source, just overwrite the values in your project using the same id.

    For example if you want to change a string just overwrite it in your strings.xml.

     <string name="apptentive_ok">XXX</string>
    

    If you want to change a color, overwrite it in your colors.xml

    <color name="colorPrimary">XXXXX</color>