
Product
Announcing Socket Certified Patches: One-Click Fixes for Vulnerable Dependencies
A safer, faster way to eliminate vulnerabilities without updating dependencies
danger-android_version_change
Advanced tools

Asserts the versionName or versionCode strings have been changed in your Android project. This is done by checking the git diff of your project's build.gradle file. The plugin will either call Danger's fail method or do nothing if the versionName or versionCode strings were changed.
android_version_change.assert_version_name_changed()
fail if the versionName not updated or nothing if it has changed.android_version_change.assert_version_code_changed()
Assert the versionName string changed for your Android project# Calls Danger `fail` if the versionName not updated or nothing if it has changed.
assert_version_changed_diff - (Internal use) Pass the git diff string here to see if the version string has been updated.
assert_version_changed - (Internal use) Takes path to build.gradle as well as "versionName" or "versionCode" string to check for change.
assert_version_name_changed - Assert the versionName has been changed in your build.gradle file.
android_version_change.assert_version_name_changed()
app/build.gradleandroid_version_change.assert_version_name_changed("specialDirectory/build.gradle")
assert_version_code_changed - Assert the versionCode has been changed in your build.gradle file.
android_version_change.assert_version_code_changed()
app/build.gradleandroid_version_change.assert_version_code_changed("specialDirectory/build.gradle")
bundle install to setup dependencies.bundle exec rake spec to run the tests.bundle exec guard to automatically have tests run as you make changes.FAQs
Unknown package
We found that danger-android_version_change demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.