Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fake/mock Google Play Services

I have CyanogenMod installed on an LG2 without Gapps. I only use open-source software — except the Slack app, which I restored from a backup

The Slack app works perfectly fine, but always asks me to install "Google Play Services". I just ignore this and it works.

Would it be possible to mock/fake the Google Play API somehow, so that whenever Slack asks for "Are the Google Play Services installed" the fake API would return true?

I am not an Android Developer - I know Java and Linux so becoming one should be possible to solve this little problem.

like image 620
madflow Avatar asked Oct 31 '15 11:10

madflow


People also ask

Is there a fake Google Play store?

It turns out that the cyberhackers have developed a fake Google Play Store, which TechRadar noted in the same report looks exactly the same as the real version of the app marketplace of the tech giant.

Can mock location be detected?

On Android 18 (JellyBean MR2) and above mock locations are detected using Location. isFromMockProvider() for each location. The app can detect that the location came from a mock provider when the API returns true.

Does Google Play have fake reviews?

Despite efforts to address the issue over the past decade, both the Google Play Store and Apple's App Store are still infested with fake reviews.


2 Answers

This is an issue on Slack's side aswell. I've already reported it. So they might try to make it so that app looks if google services exist on the system, then tries to use it. It supposes to fix the annoying alert about Google Services not being istalled.

About the mocking thing. There are people already working on it. Might be worth looking into https://fralef.me/using-android-without-google-apps.html

like image 152
Tomas Avatar answered Nov 02 '22 17:11

Tomas


microG (requires root and a ROM with support for signature spoofing or Xposed with FakeGApps module) aims to be an open "re-implementation" of Google Play Services, but the project is at alpha-stage and missing intended features. I've successfully spoofed GSF in applications which nag about missing Google Play Services and may otherwise be non-functional.

like image 29
user598527 Avatar answered Nov 02 '22 18:11

user598527