marzika / Snapprefs

A project which offer enhanced features for Snapchat throught the Xposed Framework.
GNU General Public License v3.0
272 stars 82 forks source link

Configurable Branch Declaration in app #343

Closed M1kep closed 7 years ago

M1kep commented 7 years ago

This change allows the build.gradle to define a variable JENKINS_BRANCH that will be pulled in the main page of the SP app between build version and SnapChat version

Description

This allows non official builds that modify the build.gradle to display the branch in SP while official builds with no modification to the build.gradle appear identical to how they used to.

Motivation and Context

Felt that this information may be useful along with build version and snapchat version, while not making any modification to the official release.

How Has This Been Tested?

Tested over multiple builds with different build.gradle files on the Jenkins server

Screenshots (if appropriate):

No change to build.gradle:

screenshot_20161122-133934

With changes to the variable defined in build.gradle:

screenshot_20161122-134127

Types of changes

Checklist: