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.
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.
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.
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.
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With