How do you prompt the user to update google play services?

前端 未结 5 1679
谎友^
谎友^ 2020-12-19 02:20

I can easily detect that my device\'s google play services app needs to be updated, and present the getErrorDialogFragment() to prompt the user to update it with:

         


        
5条回答
  •  臣服心动
    2020-12-19 02:42

    There is also this code:

    https://gist.github.com/kristopherjohnson/7554793

    Which require:

    implementation "com.google.android.gms:play-services-auth:$playServiceAuthVersion"

提交回复
热议问题