News for hackers. Stuff that matters.
Re:Can TikTok be banned from US based Android devices? by sheeshkebab on Saturday September 19, 2020 @05:39PM (#24530485)
Devices - no, but it sure can be removed from Play Store entirely (not just US), and banned from using all US based cdn’s and hosting providers... pretty much killing it.
Re:Can TikTok be banned from US based Android devices? by liopleurodon on Saturday September 19, 2020 @05:40PM (#24530497)
Actually, it seems like they can delete it from devices. FTA it's just a push notification :(
Re:Can TikTok be banned from US based Android devices? by bluegopher on Saturday September 19, 2020 @05:47PM (#24530525)
Yep, they can. AFAIR this feature was used once in the past after a court order to delete an app that was very popular in south america (brazil?), but contained a nasty sideload.

I can't find an an article backing this up though.

Re:Can TikTok be banned from US based Android devices? by sillysaurusx on Saturday September 19, 2020 @05:49PM (#24530535)
Wait, really? That seems ... very unexpected. Can anyone confirm, ideally with some sort of proof, that Google can delete apps from your phone on demand?

I suppose Apple has this ability too. I've never really thought about it.

Re:Can TikTok be banned from US based Android devices? by bluegopher on Saturday September 19, 2020 @06:01PM (#24530596)
Why would this be unexpected? You can buy apps on Play. You can also cancel your purchase 5 minutes later. In that case it stands to reason that Google would want to have a way to remove the app from your device.
Re:Can TikTok be banned from US based Android devices? by tetrahedr0n on Saturday September 19, 2020 @06:32PM (#24530754)
I think I can help provide some proof.

First - the article talks about the message delivery via push notification. The push notification is, essentially, a JSON object.

The relevant notification for push/delete would be something like:

  notificationType: 2
  docid {
    backendDocId: "com.zhiliaoapp.musically"
  }

Second - ADB itself, of course, provides a command for removal of an app. Only requirement would be permissions. If working direction with a console on target device, that command is going to look like this [1]:

  pm uninstall -k --user 0 [package name]

Third - Google playstore has the permissions required to read and write to the phones filesystem. I can't find this explicitly stated, but I'm sure someone else will link to some documentation showing this is true.

Fourth - Kinda makes everything else a moot point, google play apps are served by google clouds (the author mentions this as well), so even if google couldn't remove the app from the phone, it could essentially cut the cords to the APIs and render the app useless. [2]

1 - https://jimcofer.com/2019/02/18/uninstalling-android-apps-vi...

2 - https://developer.android.com/guide/playcore/dynamic-deliver...

Final thoughts: The author touches on this, but I don't think anyone really knows the answer. Google can remove TikTok, but will they (they haven't yet, right? lol)?

EDIT: formatting and final thought

Re:Can TikTok be banned from US based Android devices? by marctrem on Saturday September 19, 2020 @08:20PM (#24531142)
> The push notification is, essentially, a JSON object.

It’s a proto message, to be more precise.

Re:Can TikTok be banned from US based Android devices? by snazz on Saturday September 19, 2020 @05:55PM (#24530565)
Given that I have to re-sign sideloaded open-source iPhone apps every 7 days for them to work, I would imagine that Apple could just revoke the app’s signing certificate and it wouldn’t launch. I don’t know how Android works in this regard.
Re:Can TikTok be banned from US based Android devices? by ajayyy on Saturday September 19, 2020 @06:13PM (#24530652)
Android apps, even on the Google Play store, are signed by the developer (not Google). Even with the new "app bundles", where you can give Google your signing key so they can make downloaded apps only include the code needed on that device (languages, screen size, etc.), you still have access to that key as far as I know and can sign apps with it.
Re:Can TikTok be banned from US based Android devices? by takeda on Sunday September 20, 2020 @04:03PM (#24536931)
They can install an app and similarly they can remove them, and they did it already many times, for example https://www.techrepublic.com/blog/smartphones/google-deletes...
Re:Can TikTok be banned from US based Android devices? by on_and_off on Saturday September 19, 2020 @06:00PM (#24530592)
I don't have proof but I believe they can.

AFAIK this has only been used when they detected abuse from an app, not for because an app has been banned, but the capability is there

Re:Can TikTok be banned from US based Android devices? by mayama on Saturday September 19, 2020 @05:54PM (#24530562)
Couldn't open the article, not clear why it could be removed entirely from Play Store, not just US? Play store has country specific apps and they removed tiktok only from Indian store after the Indian ban. So, what is different this time?
Re:Can TikTok be banned from US based Android devices? by skissane on Saturday September 19, 2020 @06:11PM (#24530641)
Google is a US company, and US law says that US companies (and their controlled foreign subsidiaries) must obey US trade sanctions globally. By contrast, the Indian ban was just a ban local to India, it was never intended to have extraterritorial effect
Re:Can TikTok be banned from US based Android devices? by valuearb on Saturday September 19, 2020 @06:25PM (#24530720)
Re:Can TikTok be banned from US based Android devices? by skissane on Saturday September 19, 2020 @08:40PM (#24531216)
The ACLU's opinion is this violates the First Amendment.

Will the Courts, and especially the Supreme Court, agree?

My personal bet is that the Supreme Court will not agree with the ACLU on this. (Especially if Trump succeeds in appointing a conservative to replace Ruth Bader-Ginsburg.)

Re:Can TikTok be banned from US based Android devices? by valuearb on Sunday September 20, 2020 @12:20PM (#24534880)
Conservatives are strict constructionists when it comes to the constitution, and heavily lean on the idea that federal powers are restricted to those clearly enumerated.

Trump has already been dealt a multitude of losses by “his” Supreme Court. Including a 7-2 ruling that he must disclose his personal tax records to prosecutors.