Git Product home page Git Product logo

antiautoupdate's Introduction

AntiAutoUpdate

Dont let Google Play auto update the app in the Foreground

This app will fix the behaviour for now.

My Rant: https://plus.google.com/113600610540632408585/posts/bCuUg8VsztB

Download

https://github.com/frankkienl/AntiAutoUpdate/blob/master/AntiAutoUpdate-release.apk

Not on Google Play

This application will not be published on Google Play.

This is because that would violate rule 4.4 of the Developer Distrubtion Agreement.

(As this app will Kill the Play Store as soon as it tries to update the foreground-app)

http://play.google.com/intl/ALL_us/about/developer-distribution-agreement.html

(...) 4.4 Prohibited Actions. You agree that you will not engage in any activity with the Market, including the development or distribution of Products, that interferes with, disrupts, damages, or accesses in an unauthorized manner the devices, servers, networks, or other properties or services of any third party including, but not limited to, Android users, Google or any mobile network operator. You may not use customer information obtained from the Market to sell or distribute Products outside of the Market. (...)

Code

If Google is reading this, please implement this piece of code in the Play Store:

String foregroundApp = ((ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE)).getRunningTasks(1).get(0).topActivity.getPackageName();
if (appThatWillBeUpdated.equals(foregroundApp)){
    return; //Do not update at this time.
}

https://github.com/frankkienl/AntiAutoUpdate/blob/master/src/nl/frankkie/antiautoupdate/Util.java#L103

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.