admin管理员组文章数量:1122826
|-|i
To make my app able to let the user enable location, I use exception.startResolutionForResult
But my app displays "For a better experience, your device will need..."
Although I see Google Maps displays "To continue, your device will need..."
I want the "To continue" way, could someone please help me? Regards
|-|i
To make my app able to let the user enable location, I use exception.startResolutionForResult
But my app displays "For a better experience, your device will need..."
Although I see Google Maps displays "To continue, your device will need..."
I want the "To continue" way, could someone please help me? Regards
Share Improve this question asked yesterday RaphaelRaphael 455 bronze badges1 Answer
Reset to default 0Just adding setAlwaysShow(true)
to LocationSettingsRequest
, displays "To continue" instead of "For a better experience"
e.g.
val builder = LocationSettingsRequest.Builder()
.addLocationRequest(locationRequest)
.setAlwaysShow(true)
Thanks https://stackoverflow.com/a/56420194/22157294
本文标签:
版权声明:本文标题:google play services - How to display "To continue" instead of "For a better experience" whe 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736283641a1927031.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论