How to fix in-app (google) maps after Google Play services update broke map functionality?


Question

I am running AOS 6.0.1 (API-23) on a non-rooted phone. It's been working perfectly for months, but one day after updating some apps like Uber, Viber or Windy, I was told that Google Play services need to be updated as well and would not work properly, until then.



I then updated Google Play, Google Play services and Android System WebView, but then none of their maps was working, meaning that maps based on Google maps are just showing an empty blank map canvas without any features except the pins. I.e. showing the cars in Uber but no background map.



Somehow, after having installed all and everything Google related for my device, the in-app-maps was working again. Unfortunately, I have no recollection or idea what I did at the time that made it work.



Unfortunately now, 6 months later, I have the same problem again after some updates but this time I can't get my maps back. Although Googles own Google Maps, always seem to work... Nowadays I always use apkmirror to download, since they show the relevant app variations and are simply better that Google Play Store, which I no longer use. Here for example, is what's shown for Google Play services:






GMS variations






My device is a "440", at least according to the original firmware versions.




  1. What Google related apps are responsible for showing the in-app-maps correctly?

  2. On what do they depend? (I.e. How are they related?)





Answer

Most surprisingly, after reverting and/or updating some of the relevant Google apps, some settings got restored to some previous values. Those may also include permission settings and in my case, the Data Usage settings.



I solved this by first ensuring that the following 2 system apps were up-to-date:




  1. Google Services Framework *
    (com.google.android.gsf)

  2. Google Play services (com.google.android.gms)



Note that GSF is normally never updated and remains fixed for your AOS API version.



Next, I went to check the permissions of those apps. That's when I found that Mobile data had been mysteriously disabled under data usage. Check by navigating to:



Settings > Apps > Google Services Framework > Data usage > Mobile data: "allowed"



Check both Mobile data and Wi-Fi tabs, and for both apps above. That fixed it!



For completeness, also check:
Settings > Data traffic management > Networked apps and check that data is available on both the tabs Installed apps and System apps.






But since you're on it, you might as well also update:




  1. Android System WebView (com.google.android.webview)

  2. Google Play Store (com.android.vending)



If you still have map problems after this, then (a) make sure you're using compatible binaries (APK) for your specific device (API, DPI, arm version etc) and (b) that the permissions for all of these apps are as allowing as possible. Also, the device clock need to be correct...


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes