On a throwaway Samsung Galaxy with American ROM, I installed some Chinese apps. When I uninstall them, the browser opens with a specific "uninstall survey". How that is possible? Are they exploiting some os weakness or it's permitted by the apk uninstall API?

The bad actors are:

  • sogou keyboard
  • Tencent video
  • weibo
  • rozPierog@lemdro.id
    ·
    10 months ago

    If you are running Android <11 then apps could see the list of apps installed on the device https://developer.android.com/training/package-visibility

    Pure speculation (and how I would do it) is to have apps A, B, C check periodically the list of installed packages and if one of them disappeared from the list I would trigger this survey. Of course that requires that all apps are from the same developer, and it won't trigger this survey on the last app uninstall

  • Rin@lemm.ee
    ·
    10 months ago

    There seems to be some really old explanation for this but maybe there's an updated version of this thread: https://stackoverflow.com/questions/19475765/listen-to-own-application-uninstall-event-on-android#22061900

  • limerod@reddthat.com
    ·
    10 months ago

    What android version is that Samsung galaxy running? Does it happen in newer android versions like 12 and 13? The explanation and the stack link explain it for old devices. I'm not sure how it's being done for newer smartphones, if at all.

      • limerod@reddthat.com
        ·
        10 months ago

        That explains it. Older android did not have the safeguards modern-day android does. Anyway, don't sideload shady apps or use old smartphones that are not updated today. These webpage opening things used to happen in the old days, which was annoying.