madflow
madflow

Reputation: 8490

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.

Upvotes: 7

Views: 16126

Answers (2)

user598527
user598527

Reputation: 199

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.

Upvotes: 2

Tomas
Tomas

Reputation: 56

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

Upvotes: 4

Related Questions