Giter Club home page Giter Club logo

Comments (3)

KieronQuinn avatar KieronQuinn commented on August 16, 2024

Without the Google app you may not even need a module at all - you could have an app with the Google app's package name and run the redirect like that. It's not in scope for this app though as the Google app is included as stock on every GMS Android device and almost everyone would want to keep it that way, rather than uninstalling it just for this.

from discoverkiller.

Void-0000 avatar Void-0000 commented on August 16, 2024

That's fair, but what about with the google app only disabled? That seems much more reasonable, and it's how I've had my phone since I got it (even before I started rooting and such).

Wouldn't it be possible to change it so that instead of having the google app redirect to this app, instead have any app that tries to open the google app instead open this one (I imagine they all must use some kind of identifier to open the google app, so replacing it should work?), that way it works both with or without the google app installed/disabled?
This might cause some problems for apps that try to open the google app for other reasons than the news, but I think that could be solved by just... not enabling the module on those apps.

Sorry if this is complete nonsense, I'm really just guessing based on my very limited understanding of how xposed hooks work.

Also, if this does turn out to be impossible, how much "google app" is actually needed for this app to hook correctly? Say I made an empty app with the google app's package name, would that be enough for this app to work properly? Or would it maybe need to have all the correct activities (or just the news one?), or more?

from discoverkiller.

KieronQuinn avatar KieronQuinn commented on August 16, 2024

Not possible at all with it disabled. As for how much is required - very little, but that introduces other issues as other apps will be expecting the full app.

Hooking each individual launcher app would be possible (and I've had it work that way in the past), but it's cumbersome and confusing for users so the approach currently in use is better. You also cannot use media overlays without hooking the Google app directly.

from discoverkiller.

Related Issues (20)

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.