3

I'm working on some error handling cases in case of missing play services. I followed the code snippet that is commonly handed around for this case (cf. here or here), to show an error dialog in case of 'user resolvable' errors.

--> This works great, the error dialog shows up as expected.

According to the documentation by Google:

The returned dialog [...] will direct them to the Play Store if Google Play services is out of date or missing, or to system settings if Google Play services is disabled on the device. (emph. mine)

  • Now, clicking the button in the error dialog correctly takes me to the play store to update Google Play Services when they're outdated.

  • But when I go to the system settings and disable Play Services, the dialog doesn't do anything when clicking on the button.

Are there any specific circumstances that could prevent this dialog from working as advertised? Why am I not forwarded to the system settings?

fgysin
  • 11,329
  • 13
  • 61
  • 94
  • you can check avaabiltiy if not show dialoge that lead user to google play if yes, so check version of goggle service if it is lower your version so ask user to update it – Mahmoud Mabrok Jun 17 '20 at 12:32

0 Answers0