~/talk

Huawei Mobile Services Vs Google Play Services?

Talkat droidcon Italy 2020 · 2020-11-27..11-28· [android, web-platform]
links:none on file
slides:none on file

Explains how to ship one APK for both ecosystems by either flavoring builds or using runtime detection and abstraction, demonstrating a refactor that swaps Google Maps for Huawei Map Kit when GMS is absent and a runtime Push Manager library on GitHub that chooses FCM or Huawei Push. Claims Firebase Crashlytics (v20+), Realtime/Firestore, Analytics and Google Mobile Ads run without GMS, while Firebase Messaging and Google Maps do not; cites Huawei ~15–20% share, ~200M devices/year and AppGallery ~500M users and shows working demos.

AI-written summary · about

  1. 0:00Introduction
  2. 1:20Huawei ban
  3. 2:53Google Play Services
  4. 5:48Android without Play Services
  5. 8:08Huawei Mobile Services
  6. 9:24Should we remove Google and Firebase libraries
  7. 10:17What services can we still use
  8. 11:29Google Maps
  9. 16:24Use both
  10. 19:38Android Studio
  11. 22:12Refactoring
  12. 26:04Dependencies
  13. 26:57Main folder
  14. 28:37Google version
  15. 30:29Huawei version
  16. 31:34View model
  17. 32:46Map API key
  18. 33:10Create two flavors
  19. 33:26Create Android manifest
  20. 33:50Add afgconnect file
  21. 34:41Create two different layouts
  22. 36:06View binding
  23. 36:51Isolate abstract methods
  24. 38:19Create a specific map activity
  25. 39:27Google Maps vs Huawei Map Kit
  26. 41:37Synesthesia Push Manager Overview
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.